Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

oleglysiak

macrumors newbie
Original poster
Sep 19, 2022
4
1
Ukraine
I have a simple app that performs some task in the background. Is it possible to run the application on the iPhone boot up?
 
No, an iOS app cannot launch automatically when the device boots up. To maintain the stability and security of the operating system, iOS sets severe limits on background processes. Only applications that perform particular activities, like playing music, monitoring location, or offering Voice over IP (VoIP) services, are permitted to operate in the background.

If your app has to do a job when the device is turned on, you may consider using a push notification to start the app. The software, however, will only launch if the user engages with the notice.

Another alternative is to build the app to run in the background on a regular basis utilizing background execution modes such as background fetch or background processing, however, this is restricted by the system's resource availability and the user's choices for background app refresh.
 
  • Like
Reactions: oleglysiak
No, an iOS app cannot launch automatically when the device boots up. To maintain the stability and security of the operating system, iOS sets severe limits on background processes. Only applications that perform particular activities, like playing music, monitoring location, or offering Voice over IP (VoIP) services, are permitted to operate in the background.

If your app has to do a job when the device is turned on, you may consider using a push notification to start the app. The software, however, will only launch if the user engages with the notice.

Another alternative is to build the app to run in the background on a regular basis utilizing background execution modes such as background fetch or background processing, however, this is restricted by the system's resource availability and the user's choices for background app refresh.
Thanks for the answer. I'm using a push notifications as a method to start the app, but it's not the most productive method. Thank you again
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.