Can record ID in iOS address book database change
Can record ID in iOS address book database change
- Subject: Can record ID in iOS address book database change
- From: Steve Fogel <email@hidden>
- Date: Sun, 06 May 2012 00:28:10 -0700
Hi, all...
The Address Book Programming Guide for iOS says that the ABRecordID of a person record in the address book database can change, after a MobileMe sync reset or for some other reason. Is this still true for iOS 5.0?
That is, if I store an ABRecordID in my app and later want to retrieve that person with the following method, will I always get the person I want?
ABRecordRef ABAddressBookGetPersonWithRecordID (
ABAddressBookRef addressBook,
ABRecordID recordID
);
If not, this is BAD. Primary keys that can change give me heartburn.
Thanks
Steve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden