I believe the transition to iCloud is also effectively a sync reset, so the IDs 
change.

Arguably, your app needs to handle an ID going away anyway, in case the user 
decides to delete that contact from their address book at some point.

On 6 May 2012, at 08:28, Steve Fogel wrote:

> 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 protected])
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net
> 
> This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to