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
Ok, there doesn't seem to be an viable solution to this problem, neither here or in the Apple Developer forum. I just gave up and implemented the multitasking capability to at least get consistent behaviour across the different iPhone models.