NSContacts - how to get a unified contact-related contacts?

Hello

In my address book, I unified contacts for some people:

-a card with personal data and is shared with my family with iCloud account

-for the same person, one card is business oriented, with data company, on another account iCloud

I'm developing a program with xCode, SWIFT.

I want to get in contact with the commercial aspect, but I am only able to get a touch unified; When I remove it, I delete the two cards.

How can I access contacts linked by a unified contact? Or how can I get access to only one of the linked contacts?

I currently use unifiedContactsMatchingPredicate (with the predicateForContactsInGroupWithIdentifier predicate) that retrieves only the contacts unified; I couldn't find another appropriate method!

Thanks for your help,

Nicolas

Hello

I finally found a (the?) solution with CNContactFetchRequest and its choice of unifyResults,.

Niclas

Tags: iOS Developer

Similar Questions

Maybe you are looking for

  • When I open firefox I get inca homepage is that correct?

    When I open firefox the usual home page, I was used to seeing is now gone and it's called inca. I deleted Firefox and re-downloaded but I always get the homepage for inca is that good or my son downloaded a bug? How can I fix or is it a new look?

  • Satellite L300D 242 hangs on the TOSHIBA Leading Innovation page

    Hello When I turn it on the laptop crashes: press F2 go to the configuration utility, F12 to start the Manager of... of which work nietherThe screen is a black background with TOSHIBA Leading Innovation > about this After a few minutes, it goes away

  • HP 15 Notebook P: dvd player not recognized

    Hello First of all, for several days, I've been able to extract the contents of the CD into my iTunes library.  Today after downloading and installing some updates, I have been unable to rip a CD into my iTunes.  I checked "my computer" "" and it doe

  • has no restore point: "...". writer has encountered temporary error. (0x800423F3).

    Unable to create Restore - Point unable to restore -- error code "... /CEE riter met lapse. (0x800423F3)". Gateway desktop computer; Intel CORE 2 DUO; 32 bits; VISTA Ultimate SP1 & SP2. Recently I reinstalled OS with manufacturers SYSTEM RESTORE disk

  • HP Photosmart more B209 (a - m): Photosmart drivers more B209

    I have a Pavilion 17-g015dx I got windows 7 Professional OS installed instead of the OS 8.1. I just got a driver for the USB ports to work computer Forum mobile operating system.  Now that they are working, I tried to install the software for my (a -