- (BOOL)handleOpenURL:(NSURL*)url {
return [facebook handleOpenURL:url];
}
我正在从其他类调用此方法
-(void)callMethod{
BOOL bool;
NSURL *testURL = [NSURL URLWithString:@"https://m.facebook.com/dialog/permissions.request?_path=permissions.request&app_id=254225037982009&client_id=254225037982009&redirect_uri=fb254225037982009%3A%2F%2Fauthorize&sdk=ios&display=touch&type=user_agent&perms=user_birthday%2Cemail&fbconnect=1&sso=iphone-safari&from_login=1&refid=9&_rdr"];
bool = [testComponent handleOpenURL:testURL];
if(bool == YES){
NSLOG(@"Return YES");
}
}
我猜它需要返回YES。但它返回NO。当它返回“是”时,任何人都可以建议我。@全部
提前致谢