开发者

iphone avoid save state

开发者 https://www.devze.com 2023-01-07 10:37 出处:网络
In my app I need to avoid the开发者_StackOverflow社区 saving state, in fact, I whis that each time the user starts the app, the app will be relaunced like the first time...

In my app I need to avoid the开发者_StackOverflow社区 saving state, in fact, I whis that each time the user starts the app, the app will be relaunced like the first time... how can I do?


Set UIApplicationExitsOnSuspend to YES (Boolean) in your Info.plist.


You don't have to do a thing. iOS does nothing to save the state of your app.

0

精彩评论

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