1

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.

1 Answer 1

1

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:

beginBackgroundTaskWithExpirationHandler:

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.