user836026
user836026

Reputation: 11350

Is possible to keep Application reporting user location?

I’m developing an application for iPhone that require server to be always aware of the user location. Does iOS have a feature whereby application (or iPhone device) keep reporting it’s location to external server?

Upvotes: 1

Views: 79

Answers (2)

Jesse Rusak
Jesse Rusak

Reputation: 57188

Take a look at the "Tracking the User's Location" section in the iOS App Programming Guide. It tells you how to retrieve location data in the background. In this case, you probably only want to get significant updates.

Upvotes: 3

Matthew Flaschen
Matthew Flaschen

Reputation: 284927

You should be able to use startUpdatingLocation, then do whatever you want (e.g. a POST request) in the delegate.

Upvotes: 0

Related Questions