If I press the sleep button while my app is running, then reawaken by pressing it again, a very noticeable 1 or 2 frame pause once every couple seconds is introduced.
I had a similar problem when pressing the home button to suspend and then resuming the game. To combat this I set UIApplicationExitsOnSuspend = true in the build.settings plist. But apparently the sleep button doesn’t initiate a suspend and the game starts where it left off, but now with choppy pausing.
Is there some other plist variable I need to set to exit on sleep? Ideally I’d like to not have to exit if either button is pressed, but the framerate jerkiness is bad. Is this a bug or do I need to clean something up on sleep and/or suspend?
[import]uid: 9422 topic_id: 11803 reply_id: 311803[/import]