Type Method

predicateForContainersWithIdentifiers:

Returns a predicate to find the containers with the specified identifiers.

Declaration

+ (NSPredicate *)predicateForContainersWithIdentifiers:(NSArray<NSString *> *)identifiers;

Parameters

identifiers

The container identifiers to be matched.

Return Value

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

See Also

Generating Search Predicates for Containers

+ predicateForContainerOfContactWithIdentifier:

Returns a predicate to find the container of the specified contact.

+ predicateForContainerOfGroupWithIdentifier:

Returns a predicate to find the container of the specified group.