Instance Property

addressDictionary

A dictionary containing the Address Book keys and values for the placemark.

Declaration

var addressDictionary: [AnyHashable : Any]? { get }

Discussion

The keys in this dictionary are those defined by the Address Book framework and used to access address information for a person. For a list of the strings that can be in this dictionary, see the “Address Property” constants in ABPerson.

You can format the contents of this dictionary to get a full address string as opposed to building the address yourself. To format the dictionary, use the ABCreateStringWithAddressDictionary(_:_:) function as described in AddressBookUI Functions.

See Also

Accessing Address Information

var postalAddress: CNPostalAddress?

The postal address associated with the location, formatted for use with the Contacts framework.

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