I have an application that adds Contacts to the address book in iOS, and all I need to do is save ABRecordID or ABRecordref as soon as I save the contact.
ABAddressBookAddRecord(addressbook, newPerson, &theerror); ABAddressBookSave(addressbook, &theerror);
This question is very similar, but I do not understand the answer: ABRecordID for an entry in the address book (unique identifier for the inserted record in the address book)
How do you know
ABRecordID ABRecordGetRecordID ( ABRecordRef newPerson );
Some help here would be fantastic - thanks!
ios addressbook
Tommy nicholas
source share