Enumeration

MKUserTrackingMode

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

Declaration

typedef enum MKUserTrackingMode : NSInteger {
    ...
} MKUserTrackingMode;

Topics

Constants

MKUserTrackingModeNone

The map does not follow the user location.

MKUserTrackingModeFollow

The map follows the user location.

MKUserTrackingModeFollowWithHeading

The map follows the user location and rotates when the heading changes.

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.

showsUserLocation

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

userLocationVisible

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

userLocation

The annotation object representing the user’s current location.

userTrackingMode

The mode used to track the user location.

- setUserTrackingMode:animated:

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