Contents

predicateForContactsInGroup(withIdentifier:)

Returns a predicate to find the contacts that are members in the specified group.

Declaration

class func predicateForContactsInGroup(withIdentifier groupIdentifier: String) -> NSPredicate

Parameters

  • groupIdentifier:

    The group identifier to be matched.

Return Value

A predicate that can be used to fetch contacts from CNContactStore.

See Also

Getting Search Predicates