Class

MKUserLocation

An annotation that always reflects the user's current location on the map.

Overview

You do not create instances of this class directly. Instead, you retrieve an existing MKUserLocation object from the userLocation property of the map view displayed in your app.

Topics

Determining the User’s Position

var location: CLLocation?

The current location of the device.

var isUpdating: Bool

A Boolean value indicating whether the user’s location is currently being updated.

var heading: CLHeading?

The heading of the user location.

Accessing the User Annotation Text

var title: String?

The title to display for the user location annotation.

var subtitle: String?

The subtitle to display for the user location annotation.

Relationships

Inherits From