Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6604633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:10:59+00:00 2026-05-25T19:10:59+00:00

I need to reference ABPerson records from within an application. I use the unique

  • 0

I need to reference ABPerson records from within an application. I use the unique ID provided by

  - (NSString *)uniqueId

and attach it to my in-app contact record.

Additionally, I save ABPerson’s vCardRepresentation as a fallback. In case the app isn’t any longer able to locate the ABRecord using the uniqueID, the app asks the user to recover the adressbook record using the saved vCardRepresentation. All works fine.

Unfortunately, a friend told me, that uniqueId isn’t immutable: During a sync, uniqueId may suddenly change.

According to him, somewhere in iOS documentation, Apple explains that no way exists to immutable identify ABPersons using uniqueId. In OS X’ Cocoa documentation, I failed to find such a hint.

On a given Mac, may the uniqueId change suddenly? If that’s true, what’s the correct way to identify ABPerson records from within an external application?

In case the uniqueID isn’t immutable, I certainly may assign a custom property with a GUID. Unfortunately, custom fields do not sync.

Certainly, I’d prefer to use uniqueId.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:11:00+00:00Added an answer on May 25, 2026 at 7:11 pm

    For whats its worth, from Apple’s techdoc:

    kABUIDProperty
    The unique ID for this record. It’s guaranteed never to change, no matter how much the record changes. If you need to store a reference to a record, use this value. Type: kABStringProperty.
    Available in Mac OS X v10.2 and later.
    Declared in ABGlobals.h.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For a NUnit test I need to reference a .mdf file from a .config
Is there something that I need to reference? How do I use this: Dim
I need to reference a C++ dll from my Java project. The method that
What library I need to reference to use System.Web.Script.Serialization in Class Library ? System.Web
My application will need to reference addresses. Street info will be stored with my
I need to reference a control in my web app that was generated with
I need to reference a variable of a top level class from a method
I need to reference external assemblies from a dozen asp.net web sites. These assemblies
Whenever I need to reference a common module or script, I like to use
I need the reference system32/shell32.dll as I use some shell functions to read out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.