Contents

predicateForSelectionOfProperty

Optionally determines if a selected property should be returned to the app or if the default action for the property should be performed

Declaration

@NSCopying var predicateForSelectionOfProperty: NSPredicate? { get set }

Discussion

If the predicate evaluates to true, the selected property is returned to the app. If the predicate evaluates to false, the default action for the property is performed.

If this property is nil, the selected property is returned to the app if the delegate implements peoplePickerNavigationController(_:didSelectPerson:property:identifier:).

See Also

Customizing Display and Selection