Assuming the user has granted permission for the app to access contacts, is there any way to determine which record belongs to the phone owner? For example if you browse the list of contacts on your phone, you will see a little "me" beside the record that is identified as the owner's record. So the phone clearly knows this, but is there any programmatic way to determine this? Or is that considered a privacy violation?
Asked
Active
Viewed 1,570 times
1 Answers
3
I know on a Mac you can use [[ABAddressBook sharedAddressBook] me]
. For iOS, take a look at how Square's CardCase app does it.
-
2Looks like this might not be available on iOS unfortunately. – devios1 Oct 14 '13 at 20:20
-
1That's correct. There is no `[AB me]` equivalent in the iOS API. However – jmay Oct 15 '13 at 04:39
-
1What about `CNContactStore`? Is it possible to get it? – adib Jun 17 '16 at 04:37