Reputation: 11350
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
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
Reputation: 284927
You should be able to use startUpdatingLocation
, then do whatever you want (e.g. a POST request) in the delegate.
Upvotes: 0