Enumeration

CNContactSortOrder

Indicates the sorting order for contacts.

Declaration

typedef enum CNContactSortOrder : NSInteger {
    ...
} CNContactSortOrder;

Overview

The value CNContactSortOrderUserDefault is the user's preferred sort order.

Topics

Sort Orders

CNContactSortOrderNone

No sorting order.

CNContactSortOrderUserDefault

The user’s default sorting order.

CNContactSortOrderGivenName

Sorting contacts by given name.

CNContactSortOrderFamilyName

Sorting contacts by family name.

See Also

Configuring the Fetch Options

mutableObjects

A Boolean value that indicates whether to return mutable contacts.

unifyResults

A Boolean value that indicates whether to return linked contacts as unified contacts.

sortOrder

The sort order for contacts.