I'm new to iPhone development.I have already gone through some of the exploring pages to create UIBackgroundModes key in Info.plist for iOS4 .But it is little bit difficult to understand . Kindly provide some step by step procedure with screenshot example for easy understanding...also specify what the requirements which are needed ie iPhone, OS version 4.0...
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
The UIBackgroundModes key identifies which background tasks your application supports. Its value is an array that contains one or more strings with the following values:
You can edit the Info.plist file on Xcode. To add a new key, click on the + sign and write:
iOS 4
"UIBackgroundModes" as the key, make sure the type is set to string and then in value write audio, location or voip depending on your needs:
iOS 6
"Required background modes" as the key and then set the type in drop down menu.