predicateForContacts(matchingName:)
Returns a predicate to find the contacts matching the specified name.
Declaration
class func predicateForContacts(matchingName name: String) -> NSPredicateParameters
- name:
The contact name to be matched.
Return Value
A predicate that you can use to fetch contacts from CNContactStore.
Discussion
The name can contain any number of words.