Address Book UI Functions Reference
The Address Book UI functions provide functionality for formatting contact information.
Returns a formatted address from an address property.
address: [NSObject : AnyObject]!, _
addCountryName: Bool) -> String!
A dictionary representing the address property to format.
Specifies whether to include the name of the country in the returned formatted address.
falseand address includes a country name, that country name is still included in the return value.
addressdoesn’t include a country name, the country name is added to the return value. (The country name is generated from the country code entry in
address; see Address Property.)
The formatted address (may include line endings).
The address is formatted based on the address's country code (
kABPersonAddressCountryCodeKey). In general, the country code should be set to correspond with the country name (
Available in iOS 2.0 and later