Contents

keysToFetch

The properties to fetch in the returned contacts.

Declaration

var keysToFetch: [any CNKeyDescriptor] { get set }

Discussion

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.