Disabling multitasking on iPhone 3GS using UIApplicationExitsOnSuspend not working
Posted
by
NobleK
on Stack Overflow
See other posts from Stack Overflow
or by NobleK
Published on 2011-01-10T08:01:11Z
Indexed on
2011/01/10
13:53 UTC
Read the original article
Hit count: 251
Hello
I am developing an iPhone app where I don’t want/need the multitasking capability and I want my app to initiate every time I open it.
I have set the UIApplicationExitsOnSuspend
property in the info.plist and it does work when I test it on my iPhone 4 and in the simulator (which is also an ”iPhone 4”). The app calls applicationDidEnterBackground
followed by applicationWillTerminate
. However, when testing it on my wifes iPhone 3GS the property seems to be completely ignored and the program gets suspended/resumed. Both phones are running iOS 4.2.1.
Someone has also confirmed this issue in another thread, with no solutions unfortunately: iPhone: how to test if UIApplicationExitsOnSuspend is working?
Is there something I am missing to make this work? Any other ways to accomplish this?
Thanx in advance
© Stack Overflow or respective owner