Ios 未在OAuth.io中调用委托
未调用OAuth.io委托方法..有什么想法吗 ViewController.hIos 未在OAuth.io中调用委托,ios,iphone,Ios,Iphone,未调用OAuth.io委托方法..有什么想法吗 ViewController.h 接收OAuthResponse时可能存在一些问题:- //在身份验证失败的情况下处理错误 - (void)didFailWithOAuthIOError:(NSError *)error{ NSLog(@"Failure"); } 检查此方法是否正在调用。如果这是调用,则表示委托方法没有任何问题 谢谢 authModel = [[OAuthIOModal alloc] initWithKey:@"Yk7
接收OAuthResponse时可能存在一些问题:- //在身份验证失败的情况下处理错误
- (void)didFailWithOAuthIOError:(NSError *)error{
NSLog(@"Failure");
}
检查此方法是否正在调用。如果这是调用,则表示委托方法没有任何问题
谢谢
authModel = [[OAuthIOModal alloc] initWithKey:@"Yk7aY94Vskjj3b6yDy3tWkBEEXo" delegate:self];
[authModel showWithProvider:@"facebook"];
//On success, the didReceiveOAuthIOResponde delegate method is called:
- (void)didReceiveOAuthIOResponse:(OAuthIORequest *)request
{
// Here you can use the request object to make requests directly
// or store it for later use (e.g. when a button is pressed)
}
- (void)didFailWithOAuthIOError:(NSError *)error{
NSLog(@"Failure");
}