如何从iPhone OS检索提供商的电子邮件联系人?

问题描述

| 我已将gigya集成到iPhone中以进行登录。工作正常。现在,我需要检索登录用户的电子邮件联系人。如何在iPhone中以编程方式做到这一点?     

解决方法

        我终于明白了
[gsAPI sendRequest:@\"socialize.getContacts\" params:nil useHTTPS:YES delegate:self context:nil];

}

- (void) gsDidReceiveResponse:(NSString*)method response:(GSResponse*)response context:(id)context
{ 
NSString *resMsg = [NSString stringWithFormat:@\"\\n errorCode=%d\\n errorMessage=%@\\n response.data=%@\\n\",response.errorCode,response.errorMessage,[response.data stringValue]];  
  NSLog(@\"gsDidReceiveResponse:\\nMethod=%@\\nResponse=%@\\n context=%@\",method,resMsg,context);
}
    

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...