Closed hcyildirim closed 7 years ago
@ccoeder APAdreesBook
use AddressBook.framework
and according to the apple's documentation it should be unique.
@belkevich This is what happens when you try it like this:
NSLog(@"%@", contact.recordID);
I don't see any duplicates))
Is that something like auto incerement?
I don't know for sure, but it looks like auto incremented field in most databases
It's not what I want then. Is there a way I can find the number of the person (the owner of the phone) from within the entire list?
Sorry, I don't understand. What exactly you want to do?
I am trying to make an application, and in this application I show the user's contacts, I record in the database who is selected when someone selects the user's guide. What I need is the phone number of the person who is using the application so I can distinguish it from the others.
So, you want to find contact record of iPhone/iPad owner?
Unfortunately, APAddressBook
doesn't support such functional.
But you can try Contacts API. May be it helps
By the way your pod is amazing, thanks!
Thank you! Happy coding!
I think contact.recordID is not a unique property or I do not fully understand, can someone help me?