Initializer

init(coordinate:postalAddress:)

Initializes and returns a placemark object with the specified coordinate and postal address from the user's Contacts database.

Declaration

init(coordinate: CLLocationCoordinate2D, postalAddress: CNPostalAddress)

Parameters

coordinate

The geographic coordinate to associate with the placemark.

postalAddress

An object containing the address information obtained from the Contacts framework.

Return Value

An initialized MKPlacemark object.

See Also

Creating a Placemark Object

init(coordinate: CLLocationCoordinate2D)

Initializes and returns a placemark object using the specified coordinate.

init(coordinate: CLLocationCoordinate2D, addressDictionary: [String : Any]?)

Initializes and returns a placemark object using the specified coordinate and Address Book dictionary.