App won't relaunch when monitoring CLLocationManager significant location changes - iPhone

此生再无相见时 提交于 2019-12-04 18:36:34
Joris Kluivers

How are you currently checking to see if the app relaunches? Are you logging anything?

The app will relaunch to the background, so you won't see your app come alive. It will actually shut down automatically after some time again. You can do some work and request more background time using -[UIApplication beginBackgroundTaskWithExpirationHandler:].

Another answer here on SO posted some example code. From your description I cannot see anything missing, compare your code to that project to see if your missing something.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!