Contents

descriptorForRequiredKeys()

Returns the descriptor for all the keys that must be fetched on the contact before setting it on the view controller.

Declaration

class func descriptorForRequiredKeys() -> any CNKeyDescriptor
nonisolated class func descriptorForRequiredKeys() -> any CNKeyDescriptor

Return Value

Descriptor for all the keys that must be fetched.

Discussion

Pass this descriptor to the keysToFetch of the CNContactFetchRequest if you want to display the contact in a CNContactViewController.