Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I support Fast App Switching in an iPhone App

Tags:

iphone

ios4

I have an app that works well on iPhone OS 3.0 or higher. How do I support fast app switching in it? It should work as is on iPhone OS 3.0 but support fast app switch on iOS 4.0.

Anupam

like image 753
Anupam Godbole Avatar asked Jun 21 '10 17:06

Anupam Godbole


1 Answers

Set the Base SDK to 4.0 and the Deployment Target to 3.0. Fast app switching should now work.

To make your app behave properly when it is in the background and make sure you save your state early enough, you have to read and follow the chapter about multitasking in the iPhone Application Programming Guide completely, especially Supporting Background State Transitions and Being a Responsible, Multitasking-Aware Application.

like image 169
Ole Begemann Avatar answered Sep 18 '22 16:09

Ole Begemann