Instance Property

phoneNumber

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

Declaration

var phoneNumber: String? { get set }

Discussion

If there is a relevant phone number associated with the location, such as a phone number for a business at the location, use this property to specify that value.

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 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 url: URL?

The URL associated with the specified location.

var timeZone: TimeZone?

The time zone of the specified location.