An object that defines the default options to use when displaying contacts.


class CNContactsUserDefaults : NSObject


Getting the Shared Database

class func shared() -> Self

The singleton contacts user defaults object.

Getting the Default Values

var countryCode: String

An ISO country code.

var sortOrder: CNContactSortOrder

Default sorting order by name.


Inherits From

Conforms To

See Also


class CNContactFormatter

An object that you use to format contact information before displaying it to the user.

class CNPostalAddressFormatter

An object that you use to format a contact's postal addresses.

class CNContactVCardSerialization

An object you use to convert to and from a vCard representation of the user's contacts.

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