How to fetch unified contacts from ABAddressBook iOS using AddressBook framework but by not using new Contacts Framework ? Is it even possible? -


when fetching contacts addressbook in order show custom contacts picker, contacts partial. i.e. same contact may have been synced facebook or icloud. there may 2 contacts , 1 contain email address , second 1 contain phone number of same person. how make partially splitted contacts unified 1 single contact when fetching contacts in addressbook.

there property :- abrecordid getting unique id contact.

for example:- in iphone contacts, there contact of mr x this:-

mr x

+1 5667-8899

+91 77977 98789

x@gmail.com

x2@gmail.com

so, uniquely identify emails or phone numbers belongs mr x, abrecordid there.

and per question whenever try fetch contacts, once done group contacts data per record id , how single contact multiple phone or emails.

apple doc:- https://developer.apple.com/library/ios/documentation/contactdata/conceptual/addressbookprogrammingguideforiphone/chapters/directinteraction.html


Comments