Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何从iPhone操作系统检索提供商的电子邮件联系人?_Iphone_Contacts_Gigya - Fatal编程技术网

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

如何从iPhone操作系统检索提供商的电子邮件联系人?,iphone,contacts,gigya,Iphone,Contacts,Gigya,我已经将gigya集成到iPhone中,以便登录。很好用。现在我需要检索登录用户的电子邮件联系人。如何在iPhone中以编程方式实现这一点?我终于掌握了它 [gsAPI sendRequest:@"socialize.getContacts" params:nil useHTTPS:YES delegate:self context:nil]; } - (void) gsDidReceiveResponse:(NSString*)method response:(GSResponse*)re

我已经将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);
}