Type Method

localizedString(forKey:)

Returns a string containing the localized contact property name.

Declaration

class func localizedString(forKey key: String) -> String

Parameters

key

A string containing the contact property key.

Return Value

A localized string containing the contact property name.

Discussion

This method returns a localized string for a contact property key. For example, the value of a Canadian CNContactPostalAddressesKey field would be “Postal Code”, while the value of a French one would be “Code Postal”.