Instance Property

isCurrentLocation

A Boolean value indicating whether the map item represents the user’s current location.

Declaration

var isCurrentLocation: Bool { get }

Discussion

If the value of this property is true, the map item represents the user’s current location. If true, the value in the placemark property is set to nil.

See Also

Accessing the Map Item Attributes

var placemark: MKPlacemark

The placemark object containing the location information.

var pointOfInterestCategory: MKPointOfInterestCategory?

The point of interest category for the map item.

Beta
var name: String?

The descriptive name associated with the map item.

var phoneNumber: String?

The phone number associated with a business at the specified location.

var url: URL?

The URL associated with the specified location.

var timeZone: TimeZone?

The time zone of the specified location.