0

I want to select multiple contacts from the iPhone address book and save selected contacts in my app. then I have to retrieve record of that selected contacts.

2 Answers2

6

check this demo

1) multicontactsselector

2) knmultiitemselector

3) tkcontactsmultipicker

SAMIR RATHOD
  • 3,512
  • 1
  • 20
  • 45
0

Try this

ABAddressBookRef addressBook = ABAddressBookCreate( );
CFArrayRef allPeople = ABAddressBookCopyArrayOfAllPeople( addressBook );
CFIndex nPeople = ABAddressBookGetPersonCount( addressBook );

for ( int i = 0; i < nPeople; i++ )
{
    ABRecordRef ref = CFArrayGetValueAtIndex( allPeople, i );
    ...
}
Rajneesh071
  • 30,846
  • 15
  • 61
  • 74