---
title: predicateForSelectionOfContact
framework: contactsui
role: symbol
role_heading: Instance Property
path: contactsui/cncontactpickerviewcontroller/predicateforselectionofcontact
---

# predicateForSelectionOfContact

A predicate to control the return of the selected contact.

## Declaration

```swift
@NSCopying var predicateForSelectionOfContact: NSPredicate? { get set }
```

## Discussion

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 NSPredicate.

## See Also

### Predicates For Selecting Contacts

- [predicateForEnablingContact](contactsui/cncontactpickerviewcontroller/predicateforenablingcontact.md)
- [predicateForSelectionOfProperty](contactsui/cncontactpickerviewcontroller/predicateforselectionofproperty.md)
