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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software