Type Method

predicateForContactsInContainerWithIdentifier:

Returns a predicate to find the contacts in the specified container.

Declaration

+ (NSPredicate *)predicateForContactsInContainerWithIdentifier:(NSString *)containerIdentifier;

Parameters

containerIdentifier

The container identifier to be matched.

Return Value

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

See Also

Getting Search Predicates

+ predicateForContactsMatchingName:

Returns a predicate to find the contacts matching the specified name.

+ predicateForContactsWithIdentifiers:

Returns a predicate to find the contacts matching the specified identifiers.

+ predicateForContactsInGroupWithIdentifier:

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

+ predicateForContactsMatchingPhoneNumber:

Returns a predicate to find the contacts whose phone number matches the specified value.

+ predicateForContactsMatchingEmailAddress:

Returns a predicate to find the contacts whose email address matches the specified value.