How to select contact from section "Siri found in apps"?

396 views Asked by At

I'm using CNContactPickerViewController with properties for phone number selection:

picker.displayedPropertyKeys = [CNContactPhoneNumbersKey]
picker.predicateForEnablingContact = NSPredicate(format: "phoneNumbers.@count > 0")
picker.predicateForSelectionOfContact = NSPredicate(format: "phoneNumbers.@count == 1")
picker.predicateForSelectionOfProperty = NSPredicate(format: "key == phoneNumber")

Contact with section "Siri found in apps"

But it unable to select contact form "Siri found in apps" section. How can I enable that?

Siri contact with phone number

0

There are 0 answers