Instance Method

mapView:didFailToLocateUserWithError:

Tells the delegate that an attempt to locate the user’s position failed.

Declaration

- (void)mapView:(MKMapView *)mapView didFailToLocateUserWithError:(NSError *)error;

Parameters

mapView

The map view that is tracking the user’s location.

error

An error object containing the reason why location tracking failed.

See Also

Tracking the User Location

- mapViewWillStartLocatingUser:

Tells the delegate that the map view will start tracking the user’s position.

- mapViewDidStopLocatingUser:

Tells the delegate that the map view stopped tracking the user’s location.

- mapView:didUpdateUserLocation:

Tells the delegate that the location of the user was updated.

- mapView:didChangeUserTrackingMode:animated:

Tells the delegate that the user tracking mode changed.