If my application is pushed to the background, is there a way to guarantee some minimal CPU resource allocation for it ( ~ 5-10%) ?
I use “location” value for UIBackgroundMode attribute.
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.
Not really. You can ask iOS to give you a few cycles to do something after your sent to the background using this function on UIApplication:
It is also possible to register your App for certain services and to be notified when they occur while you are in the background… but iOS does not allow you to get some % of cycles to do anything while in the background.
The documentation addressing the details is here:
Apple Docs