Load ABRecordRef from ABRecordID in iOS

2.5k views Asked by At

I'm storing an array of ABRecordID (actually wrapped in NSNumber) into NSUserDefaults. So far so good but now I need to load those into ABRecordRef and can't find what function to use.

I'm just looking for the function that creates the ABRecordRef from an ABRecordID, that's all.

1

There are 1 answers

0
Julian On BEST ANSWER

Found it!

ABAddressBookGetPersonWithRecordID(ABAddressBookRef addressBook, ABRecordID recordID);