iOS backgrounding
The iOS platform also provides background mechanisms for fetching additional data from remote servers, even though the application or even the device is inactive. While it is not as reliable as the alarm manager on Android, these background tasks are highly optimized for preserving battery. These background tasks can be executed as a response to certain system events, such as geolocation updates or on certain nominal intervals. We have used the word nominal here since the periods a background task is executed in are not deterministic and could change over time according to the execution performance of the background task, as well as the system resources that are available.
For instance, in order to perform a background fetch, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access