<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactsUI",
  "identifier" : "/documentation/ContactsUI/CNContactPickerViewController/predicateForSelectionOfProperty",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Contacts UI"
    ],
    "preciseIdentifier" : "c:objc(cs)CNContactPickerViewController(py)predicateForSelectionOfProperty"
  },
  "title" : "predicateForSelectionOfProperty"
}
-->

# predicateForSelectionOfProperty

A predicate to control the properties of the selected contact.

```
@NSCopying var predicateForSelectionOfProperty: NSPredicate? { get set }
```

## Discussion

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 <doc://com.apple.documentation/documentation/Contacts/CNContactProperty> property
that is being selected, such as `(key == 'emailAddresses') AND (value LIKE '*@apple.com')`
to return email address of the contact if the address contains the string “@apple.com”.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)