ios 5.1 kills the App when in background

ios 5.1 kills the App when in background
0.0 0


on ios 5.0, our cocos2D-x game can be moved to background (with home button) and called back by pushing the game icon like usual.

on devices udpated to ios 5.1, the game is killed when moved to background. The app is fully restarted when you push the game icon.

we use : cocos2d-1.0.1-x-0.11.0

Any idea where this could come from ?

thanks for your help!


I have experienced this issue before but since version 12.
For my case, when hitting home button the program crash implicitly and when we go back to our game, it will fully restart.

Please see my thread, brief solution is that we need to stop animation and handle things properly before pausing/resuming application in cocos2d-x.


seems top work.


Thanks! Works :slight_smile:

I hope it will be added to the next version.