How much time is given to the startup and shutdown of an iphone app (and possibly other important routines). I have had programs killed on my iphone by the OS which was overzealous?
+1
A:
The iPhone Application Programming Guide states 5 seconds for shutdown, but I can't find a reference to start-up times.
Edd
2009-08-18 06:41:46
+1
A:
The watchdog timer on the iPhone terminates your application if it has been unresponsive for 20 seconds. Note that Xcode disables the watchdog timer when debugging, so you may need to test on the hardware outside of Xcode to make sure that your application will indeed run. However, if your application is blocking the main thread for anywhere near 20 seconds, there's something seriously wrong in its design.
Brad Larson
2009-08-18 13:29:16