How can I prevent my app from backgrounding? When I press the home button the app does not seem to close but save its state. Do I have to add some code to - (void)applicationWillTerminate:?
How can I prevent my app from backgrounding? When I press the home button
Share
I believe you are referring to preventing the application from Running in the Background?
This is controlled via the application’s Info.plist.
Add:
Application does not run in backgroundsetting it toYESor in XML
<key>UIApplicationExitsOnSuspend</key><true/>