I am using the
CNContact framework to get all of the contacts from my phone and I need to compare some data with my own contact details.
Is it posible to get my own contact details ? I can find myself listed when retrieving the contacts using apple framework, but I don't know how to identify me .
Any ideas ?
There is no way to ask the SDK for the contact of the phone's owner. If you have some information about the owner (like name), then your best bet is to query for contacts with a
CNContactFetchRequest using what information you have.