Will iOS launch my app into the background if it was force-quit by the user?

后端 未结 7 782
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-22 00:46

I am triggering a background fetch by using the content-available flag on a push notification. I have the fetch and remote-notification

相关标签:
7条回答
  • 2020-11-22 01:31

    This might help you

    In most cases, the system does not relaunch apps after they are force quit by the user. One exception is location apps, which in iOS 8 and later are relaunched after being force quit by the user. In other cases, though, the user must launch the app explicitly or reboot the device before the app can be launched automatically into the background by the system. When password protection is enabled on the device, the system does not launch an app in the background before the user first unlocks the device.

    Source: https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html

    0 讨论(0)
提交回复
热议问题