"ios background fetch mode can be used to schedule some operation in the future that doesn't actually fetch remote data?" Code Answer

2

as i understand you can do everything that does not take too long, plus you don't get a guaranteed interval when you app will be woken up - you just can request a certain minimum wake interval, which will be treated as a suggestion by ios.

the only catch is that apparently you have to create an nsurlsession and actually do a web request, upon which return you can do whatever you want. so, you can do a dummy request and forget about any data you get returned, or maybe even create a failing request, as you are not interested in any real request at all - although i'm not sure what apple will do when you implement the latter ...

By Usman Kurd on March 22 2022

Answers related to “ios background fetch mode can be used to schedule some operation in the future that doesn't actually fetch remote data?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.