An object that you use to format a contact's postal addresses.
- iOS 9.0+
- macOS 10.11+
- UIKit for Mac 13.0+Beta
- watchOS 2.0+
CNPostalAddressFormatter object handles international formatting of postal addresses. It is recommended that you create an instance of this class when formatting many postal addresses, and use the instance methods; otherwise use the class methods.
Generating a Formatted Attributed String
Generating a Formatted String
Specifying the Formatting Style
Getting the Postal Attribute Keys
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