Multitasking (iOS): Difference between revisions

Content deleted Content added
creating a new article
 
adding image; minor changes
Line 4:
==Features==
===Fast app switching===
[[File:iOS Multitasking Bar.png|right|The multitasking bar on iOS 4|thumb]]
Fast app switching allows apps to pause and resume themselves quickly and easily change to other apps.<ref name=AnandTech1>{{cite web|last=Shimpi|first=Anand|title=Apple's iOS 4 Explored|url=http://www.anandtech.com/show/3779/apples-ios-4-explored/2|publisher=[[AnandTech]]|accessdate=April 14, 2013|date=June 22, 2010}}</ref>An app that is on the screen is considered "running", while an app that is not on screen but is still in memory is considered "suspended".<ref name=PCWorld1>{{cite web|last=Perenson|first=Melissa|title=Multitasking on Apple's iPhone 4: How Does It Work?|url=http://www.pcworld.com/article/198296/iphone_4_multitasking.html|publisher=[[PCWorld]]|accessdate=April 14, 2013|date=June 8, 2010}}</ref> All apps that are built with iOS 4 SDK support fast app switching if running on iOS 4 and a compatible device.<ref name=AppleDev1>https://developer.apple.com/library/ios/#releasenotes/General/WhatsNewIniOS/Articles/iPhoneOS4.html#//apple_ref/doc/uid/TP40009559-SW1</ref> Users can utilize fast app switching by activating the multitasking bar, which can be displayed by double-tapping the home button.<ref name=PCWorld1 /><ref name=ArsTechnica1 />
===Task completion===
Line 10 ⟶ 11:
===Running in the background===
Apps on iOS 4.0 or later can run in the background by using the following three [[API]]s:<ref name=PCWorld2>{{cite web|last=Newman|first=Jared|title=Multitasking With iOS 4 is Horrible: Apple Blew It|url=http://www.pcworld.com/article/199528/Multitasking_With_iOS_4_is_Horrible_Apple_Blew_It.html|publisher=[[PCWorld]]|accessdate=April 14, 2013|date=June 22, 2010}}</ref><ref name=Gizmodo1>{{cite web|last=Diaz|first=Jesus|title=How Multitasking Works in the New iPhone OS 4.0|url=http://gizmodo.com/5512656/how-multitasking-works-in-the-new-iphone-os-40|publisher=[[Gizmodo]]|accessdate=April 14, 2013|date=April 8, 2010}}</ref>
* Audio—playAudio—plays audio
* Location—useLocation—uses ___location services
* VOIP—makeVOIP—makes [[VOIP]] calls
In [[iOS 5.0]] or later, there are an additional two APIs that can be used:<ref name=MacWorld2>{{cite web|last=Speirs|first=Fraser|title=How iOS multitasking really works|url=http://www.macworld.com/article/1164616/how_ios_multitasking_really_works.html|publisher=[[MacWorld]]|accessdate=April 14, 2013|date=January 4, 2012}}</ref>
* Newsstand—downloadNewsstand—downloads content for [[Newsstand (application)|Newsstand]]
* External accessory—interactaccessory—interacts with an external accessory
 
==See also==