I set the UIApplicationExitsOnSuspend to boolean and checked the checkbox, so I assumed that
- (void) applicationDidEnterBackground:(UIApplication *)application
is not called – but I always get into that method when I click the home button in my simulator. Am I doing something wrong or can I be sure that the app will behave the “old style” and does not support multitasking?
Thanks a lot,
Stefan
Settings defined at this level
Architectures: Standard
Base SDK: iPhone Simulator 4.0
Code Signing Identity: iPhone Developer: myName
Any iPhone OS Device: iPhone Developer: myName
iPhone OS Deployment Target: iPhone OS 3.1
Other Linker Flags: -lxml2
Prebinding: not selected
Header search paths: /usr/include/libxml2
C language dialect: C99 [-std=99]
Mismatched Return Type: selected
Unused variables: selected
One difference I have found to test this is using the iPhone 4 Simulator or Device connected to the Xcode debugger. If you have it enabled properly, when you hit the home button it will exit the debugger. If “multitasking” is enabled, when you hit the home button, the debugger will not exit – touching your icon and bringing it back will continue with your debugging session.