问题
I need google id of the contacts, Is there any way to find the google contact id for my address book contact?
I found this answer, which shows it is possible in Android.
How can I achieve in iOS??
Please help me to find google id from address book.
回答1:
How about trying to visit this document.
If my understanding is right, you need this Unified Contacts.
Contacts in different accounts that represent the same person may be automatically linked together. Linked contacts are displayed in macOS and iOS apps as unified contacts. A unified contact is an in-memory, temporary view of the set of linked contacts that are merged into one contact.
You can also refer from these SO post 1 and SO post 2 for further details.
Try also the suggested code in this SO post.
来源:https://stackoverflow.com/questions/47525630/how-to-identify-a-local-phone-contact-and-an-sync-phone-contact-in-iphone