[英]Continious location updates even if app is terminated in iOS
can anybody help me with getting device location even when the app is terminated. 即使应用终止了,任何人都可以帮助我获取设备位置。 I know how to get location when app is in background. 我知道当应用程序在后台时如何获取位置。 But I am still not able to get it when app is closed/terminated by user. 但是当应用程序被用户关闭/终止时,我仍然无法获得它。
Thanks, Nilesh 谢谢,尼罗什
Kindly refer http://mobileoop.com/getting-location-updates-for-ios-7-and-8-when-the-app-is-killedterminatedsuspended I have not tested the same. 请参考http://mobileoop.com/getting-location-updates-for-ios-7-and-8-when-the-app-is-killedterminatedsuspended,我还没有测试过。 But you can give a try. 但是您可以尝试一下。
kindly refer to these pages. 请参阅这些页面。 it can be done using 可以使用
[[LocationController sharedInstance] startMonitoringSignificantLocationChanges];
1) recieving location updates after app is terminated 1) 在应用终止后接收位置更新
2.) iOS update location even when app is terminated 2.) 即使应用终止,iOS更新位置
3.) http://mobileoop.com/getting-location-updates-for-ios-7-and-8-when-the-app-is-killedterminatedsuspended 3.) http://mobileoop.com/getting-location-updates-for-ios-7-and-8-when-the-app-is-killedterminatedsuspended
一旦应用程序从后台终止,就无法连续检索位置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.