Not. There is no such thing in the SDK or iPhone / iPad at all. You can write only code that will affect the ecosystem of the application, and not the operating system. When your application is closed, it is closed and no action will be taken until the user opens it / opens the push notification associated with your application.
If a user has approved location-based services for your application, there are several ways to perform a short background process, even if your application is completely closed. One of them is using area- based form monitoring , which basically means that the user has left area X / input area Y, open the application and run a few commands before closing it again.
The smart way (and the only way I can think) to do what you need in iOS is to run this service on the server and pull data from the server when you open the application.
Segev
source share