I am working on iPhone application in which i am fetching address book contacts. I want to differentiate contacts which are from exchange account & gmail account which are configured on my iPhone. I also want to differentiate particular exchange or gmail account name if two exchange or gmail account are configured in my iPhone.
So how can i achieve this & is there any way to differentiate contacts ?
Please let me know some solution or some sample code to fix this issue.
Thanks