iOS 4.0 Multitasking

On June 19, 2010, in iPhone Development, by Domness

Something I’ve found pretty cool with the new iOS 4.0 is the multitasking coding. Firstly, keep the code exactly the same from a 3.x app and just compiling it for iOS 4.0 works some cool things to the app.

For example, if I build the app for 3.x.x and install it on an iOS 4.0 device, the multitasking doesn’t work too great. I leave the app, come back and it loads back from the beginning.

If I then build it for 4.0 and install it on the device, then when I load up the app and switch to another, the app comes back to the same place as I left it exactly. I was loading a profile on the Twitter app, and switched to read a text for a second to Messages.app, when I came back to the Twitter app, the profile had loaded. Also, also when I quit the app to the homescreen, and load it back home from the homescreen icon, it comes back to where i left it, AGAIN :)

Anyway, my point is that keeping the code the same and just building it for iOS 4.0 means that some multitasking works already for the app without the need to code for certain actions from the user.

 

One Response to iOS 4.0 Multitasking

  1. SEAN says:


    MedicamentSpot.com. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. Online Pharmacy. Buy drugs online

    Buy:Prednisolone.100% Pure Okinawan Coral Calcium.Human Growth Hormone.Zyban.Actos.Synthroid.Accutane.Arimidex.Lumigan.Valtrex.Prevacid.Zovirax.Nexium.Retin-A.Mega Hoodia.Petcam (Metacam) Oral Suspension….

Leave a Reply