Changes

An Overview of iOS 4 iPhone Multitasking

31 bytes added, 20:27, 22 February 2011
Supported Forms of Background Execution
The background execution modes supported by an application are configured in the application’s Info.plist file using the UIBackgroundModes key and the ''audio'', ''location'' and ''voip'' values. The value for the key is actually an array allowing an application to register for more than one of the three background execution modes. To configure this setting load the application project into Xcode, select the Info.plist file and click on the ‘+’ button to add a new Key/Value pair. From the resulting menu select the ''Required background modes'' key and add the value items required. The following figure illustrates an Info.plist file configured to allow background execution for audio and location updates:
<google>ADSDAQBOX_FLOW</google>
[[Image:ios_4_iphone_background_modes.jpg|Configuring background execution modes for an iPhone iOS 4 app]]