Allocated time to run iphone applications

How much time is devoted to starting and ending the iphone application (and possibly other important procedures). I had programs killed on my iphone by an operating system that was excessive?

+4
iphone cocoa-touch
source share
2 answers

The watchdog timer on the iPhone terminates your application if it does not respond within 20 seconds. Please note that Xcode disables the watchdog timer when debugging, so you may need to test the hardware outside of Xcode to make sure that your application will actually run, however, if your application blocks the main thread for about 20 seconds, there is something in its design that is serious.

+7
source share

The iPhone programming guide points to 5 seconds to turn off, but I can’t find a link to the startup time.

+2
source share

All Articles