views:

92

answers:

3

Hi, i have created a small app using the 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?

+2  A: 

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.

rickharrison
The apple dev forums are a good location to ask this question. https://devforums.apple.com/community/iphoneNo NDA restrictions there.
kubi
+2  A: 

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.

TechZen
+3  A: 

Found the answer

add this entry to info.plist

'Application does not run in background'

and tick it;

sukitha
Awesome self-answer.
Pablo Santa Cruz