开发者

iPhone + save state of application in case of any interruption

I have developed a game 开发者_高级运维as iPhone application. Everything is completed and I am ready to upload it on App Store. I need to implement only one feature and that is, when any interruption occurs like a phone call / a sms / a notification, I want to save the current state of game so that whatever user chooses: either to handle that interruption or to cancel that interruption, the game should start again from the same stage. How might I do this?


Handle the

- (void) applicationWillTerminate: (UIApplication *) application

message in your UIApplicationDelegate. See the docs.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜