开发者

Home button minimizes the app

I have created a small app using th开发者_运维技巧e sdk 4, app works perfectly fine, but when the user hits the home button to exit and when he comes back, the app doesn't go to the home screen, it continues from the state (screen) which the user hit the home button. How can I reset it?


Add this entry to info.plist,

'Application does not run in background'

And tick it.


This information is currently under NDA. Please check the Apple documentation, and it will show you how to modify your application when it resumes from multitasking.


Apple has publicly announced that iOS4 supports multitasking. Now when you hit the home button, the app does not terminate but instead goes into the background. When you hit the app icon again, the app resumes from background instead of launching from scratch.

More detailed information is still under NDA but that should tell you what is happening with your app.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜