Fetching gmail contacts in iphone.?

2019-09-16 22:30发布

问题:

I am a newbie in IPhone programming.I need to import my gmail contacts to my application.I was successfully done the authentication using gdata api. How i can use this api to import my gmail contacts to my application.Can anybody help me..

回答1:

Use GData for objective-c.

You need to do a read-only checkout from google code, the command is -

svn checkout gdata-objectivec-client.googlecode.com/svn/trunk gdata-objectivec-client-read-only

check this out. for checkout instructions.

Also this article helped me - how to use Google API's from iOS



回答2:

These two tutorials really helped me when I encountered this problem.
1. http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/
2. http://dipinkrishna.com/blog/2013/07/ios-google-contacts/

Hope it helps! :)