A mutable representation of the postal address for a contact.
- iOS 9.0+
- macOS 10.11+
- UIKit for Mac 13.0+Beta
- watchOS 2.0+
CNMutablePostalAddress is not a thread-safe class. To remove properties when saving a mutable postal address, set string properties to empty values.
Modifying the Parts of a Postal Address
var subLocality: String
Additional information associated with the location, typically defined at the city or town level, in a postal address.
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