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 CNKeyDescriptornonisolated class func descriptorForRequiredKeys() -> any CNKeyDescriptorReturn 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.