Reputation: 438
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
Upvotes: 0
Views: 2133
Reputation: 1901
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
Upvotes: 1
Reputation: 501
Kindly refer http://mobileoop.com/getting-location-updates-for-ios-7-and-8-when-the-app-is-killedterminatedsuspended I have not tested the same. But you can give a try.
Upvotes: 4
Reputation: 6394
Once application got terminated from background, There is no way to retrieve the location continuously.
Upvotes: -1