In iOS 4, when a user presses the Home button, the running app will save the current state and go to background. However I\'m developing an app and I don\'t want it to go to
See "Opting Out of Background Execution" in the iOS Application Programming Guide:
"...you can explicitly opt out of the
background execution model by adding
the UIApplicationExitsOnSuspend key to
your application’s Info.plist file and
setting its value to YES."