The iPhone 20 second rule

If you didn't know it, the iPhone has two twenty second rules that developers need to pay attention to:

  • The iPhone has a startup timer. If an application takes longer than 20 seconds to start up, it is killed by the iPhone OS.
  • The iPhone OS will kill any application that is unresponsive for longer than 20 seconds. To work around this, you will need to perform some type of asynchronous operation.

The lesson learned on this is that asynchronous processing is a good thing to learn and understand.

Want to know more about developing with the iPhone?  Check out my Wrox Blox eBook on developing applications with MonoTouch for the iPhone/iPod touch for .NET/C# developers.

1 Comment

Comments have been disabled for this content.