This Week's Sponsor:

Winterfest 2024

The Festival of Artisanal Software


iOS 4 Fast App Switching Explained

Great post by Matt Neuburg over at TidBITS, where he explains the most important technical details you need to know about iOS’ multitasking.

“Here’s the long and short of it. When you are running an app in iOS 4 and you click the Home button once to quit it, the app doesn’t quit. Instead, it goes into suspended animation, like the scientists in cryogenic hibernation in “2001: A Space Odyssey.” The app simply stops receiving events from the system; its run loop isn’t looping. The app is both backgrounded and inert; but it is still running, in the sense that its resources and interface are still present, so that it doesn’t have to be relaunched from scratch in order to resume.”

On updating apps to support iOS 4:

“Clearly it’s going to take time for developers to recompile for iOS 4 and get their updates through the Apple gateways and onto your device. Until they do, you won’t see all that much benefit from multitasking on iOS 4. Only Apple’s own apps, and those few apps that have already been updated, are acting in a new way.

Moreover, recompiling for iOS 4 is non-trivial (as I just found out while doing it for the TidBITS News app), because it will also require some rewriting. The app instantly participates in multitasking with no changes in code, merely by virtue of linking to the iOS 4.0 frameworks instead of to an earlier version; but that doesn’t make it a good multitasking citizen.”

True. It’s very annoying that many apps don’t support multitasking but still appear in the multitasking tray.

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.