Instance Property

placemark

The placemark object containing the location information.

Declaration

var placemark: MKPlacemark { get }

Discussion

If you created the map item using the forCurrentLocation() method, the value of this property is nil and the isCurrentLocation property is set to true.

See Also

Accessing the Map Item Attributes

var pointOfInterestCategory: MKPointOfInterestCategory?

The point of interest category for the map item.

Beta
var isCurrentLocation: Bool

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

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software