Instance Property

userLocation

The annotation object representing the user’s current location.

Declaration

var userLocation: MKUserLocation { get }

See Also

Displaying the User’s Location

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 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.