A view controller that displays an interface for picking contacts.
- iOS 9.0+
CNContact allows the user to select one or more contacts (or their properties) from the list of contacts displayed in the contact view controller (
CNContact). The picker supports both single selection and multiselection of the contacts. The app using contact picker view does not need access to the user’s contacts and the user will not be prompted for “grant permission” access. The app has access only to the user’s final selection.
There are predefined predicates in this class that let you control the user selection of the contact. Changing the predicates only take effect before the view is presented.