Make periodic network calls when the iOS app is in the background

I am currently working on an application that periodically (every minute) makes a network call when the application is encrypted or killed. This network call will send information to our API.

Is this possible on iOS? How?

+5
source share
1 answer

Assuming that you need a service, for example, the Social Media application, where it will check the background every minute for new activity, you should use background execution.

Check out this background tutorial and Apple Reference for Background Execution .

+2
source

Source: https://habr.com/ru/post/1242709/


All Articles