Closed mkaya93 closed 8 years ago
Hi,
How exactly you want to filter contacts? Do you want to remove contacts without phone number?
No I just want to find contact with phone number. So How can I do that ?
addressBook.filterBlock = ^BOOL(APContact *contact)
{
for (APPhone *phone in contact.phones)
{
if ([phone.number isEqualToString:@"1234567890"])
{
return YES;
}
}
return NO;
};
Does it helps?
Actually now its crashing on some contacts which is not have phone numbers. I'm trying to solve it
Ok, feel free to reopen this issue if you need it
Hi,
I'm trying to filter contacts by phone number. Which method should I use for this.
Thanks