8

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?

4

1 回答 1

3

我知道你可以在 Mac 上使用[[ABAddressBook sharedAddressBook] me]. 对于 iOS,看看Square 的 CardCase 应用程序是如何做到的。

于 2013-10-14T20:02:21.653 回答