A predicate to control the properties of the selected contact.
- iOS 9.0+
- Mac Catalyst 13.0+
This property determines whether a selected contact should be returned (when the predicate evaluates to TRUE), or a default action for the property should be performed (when the predicate evaluates to FALSE). By default the contact picker view controller returns the first selected property of the contact. This predicate is evaluated on the
CNContact property that is being selected, such as
(key == 'email to return email address of the contact if the address contains the string “@apple.com”.