Enumeration

MKUserTrackingMode

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

Declaration

enum MKUserTrackingMode : Int

Topics

Constants

case none

The map does not follow the user location.

case follow

The map follows the user location.

case followWithHeading

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.

var showsUserLocation: Bool

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

var isUserLocationVisible: Bool

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

var userLocation: MKUserLocation

The annotation object representing the user’s current location.

var userTrackingMode: MKUserTrackingMode

The mode used to track the user location.

func setUserTrackingMode(MKUserTrackingMode, animated: Bool)

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