Latest in Developer

Image credit:

devsugar: Understanding iPhone 4 backgrounding

Share
Tweet
Share
Save

Sponsored Links


If you're looking for a simple and easy-to-follow introduction to iPhone 4's new backgrounding abilities, head on over to Oliver Drobnik's weblog and check out his latest write-up. You'll find a lovingly crafted graphic that walks you through the iPhone application lifecycle, showing how an application reacts to system changes like incoming phone calls or users' home button presses. A small portion of the chart appears at the top of this post.

Don't miss Drobnik's write-up in addition to his flowchart. I like the case he lays out for using applicationDidEnterBackground as the perfect place for saving state before giving up application control. As he points out, applicationWillTerminate will not get called in many application suspension cases.

Drobnik continues to refine his write-up, so keep checking back in for last-minute tuning and updates.

All products recommended by Engadget are selected by our editorial team, independent of our parent company. Some of our stories include affiliate links. If you buy something through one of these links, we may earn an affiliate commission.
Share
Tweet
Share
Save

Popular on Engadget

The 2019 Engadget Holiday Gift Guide

The 2019 Engadget Holiday Gift Guide

View
Amazon orders William Gibson series from the creators of 'Westworld'

Amazon orders William Gibson series from the creators of 'Westworld'

View
Apple’s AirPods Pro are on sale just weeks after their release

Apple’s AirPods Pro are on sale just weeks after their release

View
Netflix renews ‘The Witcher’ more than a month before it debuts

Netflix renews ‘The Witcher’ more than a month before it debuts

View
Apple's Phil Schiller says Chromebooks won't help kids succeed (updated)

Apple's Phil Schiller says Chromebooks won't help kids succeed (updated)

View

From around the web

Page 1Page 1ear iconeye iconFill 23text filevr