Track geolocation when app is not running (Swift)

1.1k views Asked by At

I can track the geolocation when app is in foreground and in background (with all the discussions about precision of location and saving battery life).

However I would also need to track the user when the app is not running (not open and not in background, killed), of course with the user permission.

Is it possible to do it?

I need something like "Find Friends" app. Is it allowed?

Thanks

1

There are 1 answers

4
Raghav7890 On

You can track location even when the app is killed.

startMonitoringSignificantLocationChanges

for monitoring the location. For demo refer this link below

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