Question

I loaded some app projects that I had been developing using the iPhone 3.1.3 Simulator. Now I got the 4.0 package, and for some reason when I hit the home button of the simulator to go the home screen and then go back to the app, it's in the same position as I left it. Is this now standard? What if I don't want it to do this? I'd rather have it restart every time.

Was it helpful?

Solution

What you're describing is fast App switching, which is new in iOS 4.

If you want your application to quit each time the user presses the Home button, add the UIApplicationExitsOnSuspend property key to your info.plist and set it to YES (check the box).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top