<!--
{
  "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/predicateForSelectionOfContact",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Contacts UI"
    ],
    "preciseIdentifier" : "c:objc(cs)CNContactPickerViewController(py)predicateForSelectionOfContact"
  },
  "title" : "predicateForSelectionOfContact"
}
-->

# predicateForSelectionOfContact

A predicate to control the return of the selected contact.

```
@NSCopying var predicateForSelectionOfContact: 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
displays the contact’s detail card when a contact is selected. To learn about predicates,
see <doc://com.apple.documentation/documentation/Foundation/NSPredicate>.

---

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)