Continious location updates even if app is termina

2019-09-04 07:25发布

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

3条回答
冷血范
2楼-- · 2019-09-04 07:26

Once application got terminated from background, There is no way to retrieve the location continuously.

查看更多
一纸荒年 Trace。
3楼-- · 2019-09-04 07:46
我只想做你的唯一
4楼-- · 2019-09-04 07:53

kindly refer to these pages. it can be done using

[[LocationController sharedInstance] startMonitoringSignificantLocationChanges];

1) recieving location updates after app is terminated

2.) iOS update location even when app is terminated

3.) http://mobileoop.com/getting-location-updates-for-ios-7-and-8-when-the-app-is-killedterminatedsuspended

查看更多
登录 后发表回答