---
title: predicateForSelectionOfPerson
framework: Address Book UI
role: symbol
role_heading: Instance Property
platforms: [iOS 8.0+, iPadOS 8.0+, Mac Catalyst 13.1+]
path: addressbookui/abpeoplepickernavigationcontroller/predicateforselectionofperson
---

# predicateForSelectionOfPerson

Optionally determines if a selected person should be returned to the app or displayed.

## Declaration

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

## Discussion

Discussion If the predicate evaluates to true for the selected person, the selected person is returned to the app. If the predicate evaluates to false, the selected person is displayed. If this property is nil, the person is returned to the app if the delegate implements peoplePickerNavigationController(_:didSelectPerson:), and the person is displayed if the delegate implements peoplePickerNavigationController(_:didSelectPerson:property:identifier:).

## See Also

### Customizing Display and Selection

- [predicateForEnablingPerson](addressbookui/abpeoplepickernavigationcontroller/predicateforenablingperson.md)
- [predicateForSelectionOfProperty](addressbookui/abpeoplepickernavigationcontroller/predicateforselectionofproperty.md)
