string(from:style:)
Returns a postal address as a string and formatted for the specified style.
Declaration
class func string(from postalAddress: CNPostalAddress, style: CNPostalAddressFormatterStyle) -> StringParameters
- postalAddress:
The postal address to format.
- style:
The postal formatting style to use. For a list of possible values, see Cnpostaladdressformatterstyle.
Return Value
The formatted postal address.