Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Contact Identifier #156

Open
pablopantaleon opened this issue Mar 14, 2017 · 2 comments
Open

Get Contact Identifier #156

pablopantaleon opened this issue Mar 14, 2017 · 2 comments

Comments

@pablopantaleon
Copy link

I know that this is not supported: #107. I'm trying to update a contact using:

let store = CNContactStore()
let value: CNContact = try store.unifiedContact(withIdentifier: ....

and the only possible value could be contact?.recordID, but it's not the identifier. So how i can get the contact identifier using the library.

@belkevich
Copy link
Contributor

I didn't find any property in Contact.framework matching recordID. So, I think it's impossible to match records from Contacts.framework and records from deprecated AddressBook.framework

@belkevich
Copy link
Contributor

Please, let me know if you find some solution))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants