开发者

Error 24 too many files open

I am doing a game. it requires lots of images. When using the app in normal case it will be quite running fine. But when it rash then i get the error 24 - too many files open.

I searched it but , i didn't get the appropriate answer.

please reply.

Code 开发者_JAVA百科from comment formatted:

-(void)flowerImagesAnimate {
    self.flowerImage.animationImages = self.flowerArray;
    self.flowerArray = nil;
    self.flowerImage.animationDuration = 1.0;
    self.flowerImage.animationRepeatCount = 3;
    [self.flowerImage startAnimating];
}

– Munnu 1 hour ago


Don't open so many files.

If you have more open than you need, close them. If you need that many open, collect them in to 1 larger image and use portions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜