IPhone: how to check if UIApplicationExitsOnSuspend works?

I set UIApplicationExitsOnSuspend to boolean and checked, so I assumed that

- (void) applicationDidEnterBackground:(UIApplication *)application

doesn't get called - but I always get into this method when I press the home button in my simulator. Am I doing something wrong or can I be sure that the application will maintain the "old style" and does not support multitasking?

Many thanks,

Stephen

Settings configured at this level
Architecture: Standard
Base SDK: iPhone Simulator 4.0
Code Signature ID: iPhone Developer: myName
Any iPhone OS Device: iPhone Developer: myName
iPhone deployment target: iPhone OS 3.1
Other Linker flags: -lxml2 Prelink
: not selected
Header search paths: / usr / include / libxml2
C language dialect: C99 [-std = 99]
Invalid return type: selected
Unused variables: selected

+3
source share
6 answers

, , iPhone 4 Simulator Device, Xcode. , "", . "", "", - .

+6

YES UIApplicationExitsOnSuspend, , , .

" home , . (: http://www.apple.com/iphone/features/multitasking.html)"

applicationWillTerminate delegate, .. ( NSLog )

. , - ..;)

+2

UIApplicationExitsOnSuspend iPhone 4. iPhone 3GS, iOS4 . .

0

applicationDidEnterBackground ( ApplicationWillTerminate), UIApplicationExitsOnSuspend YES. iPhone 3G iOS 4.1 iPhone 4 Simulator.

- iPhone 4?

0

. , info.plist xml. , info.plist , xml, info.plist xml. , info.plist xml info.plist. UIApplicationExitsOnSuspend ,

0

Source: https://habr.com/ru/post/1753351/


All Articles