错误 24 打开的文件太多
我正在做一个游戏。它需要大量的图像。在正常情况下使用该应用程序时,它会运行得很好。但是当它出现问题时,我会收到错误 24 - 打开的文件太多。
我搜索了它,但没有得到适当的答案。
请回复。
评论中的代码格式如下:
-(void)flowerImagesAnimate {
self.flowerImage.animationImages = self.flowerArray;
self.flowerArray = nil;
self.flowerImage.animationDuration = 1.0;
self.flowerImage.animationRepeatCount = 3;
[self.flowerImage startAnimating];
}
– Munnu 1 小时前
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 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不要打开那么多文件。
如果打开的数量超出了您的需要,请关闭它们。如果您需要打开那么多,请将它们收集到一张较大的图像中并使用部分。
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.