There is an iOS feature called BackgroundFetch
that you can configure to
regularly downloads and processes small amounts of content from the network.
You can configure minimumBackgroundFetchInterval
.
Unlike the Android feature mentioned, this interval is not guaranteed.
The OS does some heuristic in the black box. It rewards you for using โreasonableโ (for the OS) processor / power times, as well as for frequent user use. On the other hand, you get a penalty for draining the battery, worse if your application has never been used.
See: Apple Documentation
Alternatively, depending on your needs, you can publish Silent (push) Notification
whenever user data changes on the server side. A silent push awakens your application without notifying the user, so you can receive data and possibly inform the user by planning a local notification.
See: Apple Documentation
source share