I am trying to keep the iOS app in active state for more than 10 mins when it enters in background state.
How can I implement this.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See “Background Execution” section of the iPhoneAppProgrammingGuide. In short, your app must be one of these types:
And you must add to the Info.plist as follows:
Add the UIBackgroundModes key to your
Info.plist file and set its value to an array containing one or more of the following strings:
content in the background.
regular schedule through the External Accessory framework.
regular schedule through the CoreBluetooth framework
Note that part of the review process will be checking to make sure that your app does what it says it’s doing with regard to background processing.