【问题标题】:How to retrieve the email contacts of provider from the iPhone os?如何从 iPhone 操作系统中检索提供商的电子邮件联系人?
【发布时间】:2011-09-15 11:53:47
【问题描述】:

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

【问题讨论】:

    标签: iphone contacts gigya


    【解决方案1】:

    终于搞定了

    [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);
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-08-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多