Is there a way to match a unique identifier from a ABPerson record on OS X to one on IOS ? At first glance I cannot get the same id from the same person on my address book. For starters, on the mac the property kABUIDProperty is of type string, and on iOS there is the ABRecordID which is an integer type.
So my question is, how can I retrieve the same ABPerson record on IOS & OS X, considering that both devices are synced vía iCloud.
Had the same problem, so I've decided to gather all the information on topic.
From the Address Book Programming Guide (iOS)
From the Address Book Programming Guide (OSX)
But appears that in reality it does change for example when user turns off/on iCloud :
http://mjtsai.com/blog/2011/11/07/kabuidproperty/
So the best way to do this is :
also worth reading: Keeping a long-term reference to an IOS AddressBook entry
Regarding the new Contacts Framework :
CNContact.identifier