Type Method

localizedString(forKey:)

Returns the localized name of the property for the specified key.

Declaration

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

Parameters

key

Key for which to get the localized property name. Specify a key name such as CNSocialProfileUsernameKey.

Return Value

The localized name of the property.

See Also

Getting Localized User Profile Information

let CNSocialProfileUsernameKey: String

The social profile user name.

let CNSocialProfileServiceKey: String

The social profile service.

let CNSocialProfileUserIdentifierKey: String

The social profile user identifier.

Beta Software

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