Instance Method


Tells the delegate that a new location value is available.


- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation;



The location manager object that generated the update event.


The new location data.


The location data from the previous update. If this is the first update event delivered by this location manager, this parameter is nil.


By the time this message is delivered to your delegate, the new location data is also available directly from the CLLocationManager object. The newLocation parameter may contain the data that was cached from a previous usage of the location service. You can use the timestamp property of the location object to determine how recent the location data is.

See Also

Responding to Location Events

- locationManager:didUpdateLocations:

Tells the delegate that new location data is available.

- locationManager:didFinishDeferredUpdatesWithError:

Tells the delegate that updates will no longer be deferred.