• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can record ID in iOS address book database change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Can record ID in iOS address book database change
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: Issue when hiding NSTableColumn while resizing
  • Next by Date: OSAtomic built-in operations
  • Previous by thread: Thread never gets to fbDidLogin and accessToken is null when appDidBecomeActive after hit ok on fb login screen
  • Next by thread: Re: Can record ID in iOS address book database change
  • Index(es):
    • Date
    • Thread