Post

Replies

Boosts

Views

Activity

Do user-terminated apps relaunch automatically for location changes?
In the documentation it says, “If your app is terminated either by a user or by the system, the system doesn’t automatically restart your app when new location updates arrive. A user must explicitly relaunch your app before the delivery of location updates resumes. The only way to have your app relaunched automatically is to use region monitoring or the significant-change location service.” I am interpreting that to mean that even if a user force-closes an app by swiping up in the app-switcher, that location update events should still be able to relaunch the app into the background. Other sources such as WWDC videos mention that user killed apps will NOT refresh. I put together a sample project to test, and so far, I am not seeing the app relaunch automatically for region monitoring or significant-change location service. Can you verify whether it should be possible or not? If it is possible, will the behavior work on a simulator or only on device? Is it different behavior per iOS version?
1
0
1.2k
Feb ’22