Instance Property


The properties to fetch in the returned contacts.


var keysToFetch: [CNKeyDescriptor] { get set }


An array of contact property keys or key descriptors from contact objects to be fetched in the returned contacts. For example, CNContactEmailAddressesKey, CNContactPhoneNumbersKey, CNContactFormatterStyle.fullName fetches the contact’s email addresses, phone numbers, and contact’s full name with the contact formatter.

See Also

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