【发布时间】:2013-02-19 23:05:59
【问题描述】:
- (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。 当它返回“是”时,任何人都可以建议我。 @全部
提前致谢
【问题讨论】:
标签: iphone