Instance Property


A Boolean value indicating whether the map should try to display the user’s location.


@property(nonatomic) BOOL showsUserLocation;


This property does not indicate whether the user’s position is actually visible on the map, only whether the map view should try to display it. Setting this property to YES causes the map view to use the Core Location framework to find the current location and try to display it on the map. As long as this property is YES, the map view continues to track the user’s location and update it periodically. The default value of this property is NO.

Showing the user’s location does not guarantee that the location is visible on the map. The user might have scrolled the map to a different point, causing the current location to be offscreen. To determine whether the user’s current location is currently displayed on the map, use the userLocationVisible property.

See Also

Displaying the User’s Location

Converting a User's Location to a Descriptive Placemark

Transform the user’s location displayed on a map into an informative description.


A Boolean value indicating whether the device’s current location is visible in the map view.


The annotation object representing the user’s current location.


The mode used to track the user location.

- setUserTrackingMode:animated:

Sets the mode used to track the user location with optional animation.


The mode used to track the user location on the map.