We know that iOS contacts can be synced with Google , iCloud and Phone . Well, we can get a bunch of contacts using Contacts.framework , but I want to know which account it belongs to.
I mean, I need to distinguish between email and phone contacts. Is there any way to do this?
I am using contact framework . I get the identifier using CNContainer , but how do I get the name of the account in which the contacts are stored, and also how to get the contacts from this account?
source share