Instance Method

initWithCoordinate:postalAddress:

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

Declaration

- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate postalAddress:(CNPostalAddress *)postalAddress;

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

- initWithCoordinate:

Initializes and returns a placemark object using the specified coordinate.

- initWithCoordinate:addressDictionary:

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