我正在使用FBConnect API ...我在按下按钮时使用此代码..
- (IBAction)postGradesTapped:(id)sender {
_posting = YES;
// If we're not logged in, log in first...
if (![_session isConnected]) {
self.loginDialog = nil;
_loginDialog = [[FBLoginDialog alloc] init];
[_loginDialog show];
}
// If we have a session and a name, post to the wall!
else if (_facebookName != nil) {
[self postToWall];
}
// Otherwise, we don't have a name yet, just wait for that to come through.
}
现在我按下按钮......
白色空白屏幕出现...... :(
可能是什么问题?
答案 0 :(得分:0)
根据您的代码,登录成功后,您将在墙上发布。所以可能会出现空白屏幕。尝试在登录成功时在控制台上打印一些内容。