iphone - Memory management when doing multitasking in iOS 4 -
According to the apple ... the app "as much as possible" of its memory footprint). I reduce the memory footprint of my app by releasing a bunch of 2D texture in ApplicationDidEnterBackground and reloading the same texture in ApplicationWillEnterForeground. Everything works for the most part
Here's my question: Why do I get a SIGABRT or EXEC_BAD_ACCESS when I take my app from the background / fast? Errors occur when the app is back in the foreground (texture is reloaded).
When I take the app from the background / faster, I have not received any error, how can I stop it?
"Post-text" itemprop = "text">
I know this is an old question, but I should take a knife. You mentioned the issue of 2D texture. Are you using Cocos 2D operation?
I had a similar issue at the beginning of this year - this issue was not with my code. It was with Kokosdaddy - it was a bug, where texture was used to load asynchronous new look at the same time Was able to purify in the form.
I have reported this issue, and it seems that in February, the Cocos 2D project also addressed a similar problem committed.
Comments
Post a Comment