我正在使用 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.
现在当我按下按钮时...
白色空白屏幕出现...:(
可能是什么问题??
最佳答案
根据您的代码,登录成功后您将张贴在您的墙上。所以它可能会出现黑屏。尝试在登录成功时在控制台上打印一些内容。
关于iphone - 使用 FBConnect iphone 登录 Facebook 后出现白屏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5678237/