简体   繁体   English

使用FBConnect iPhone登录Facebook后出现白色空白屏幕

[英]White blank screen after login in Facebook with FBConnect iphone

I am using FBConnect API...And I am using this code while pressing button.. 我正在使用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.

} }

Now when I press the button... 现在,当我按下按钮时...

White blank screen Comes up...:( 白色空白屏幕出现... :(

What can be the problem?? 可能是什么问题?

As per your code, on login success you are posting on your wall. 根据您的代码,成功登录后,您将在墙上发布。 So it may be getting blank screen. 因此,它可能会变成空白屏幕。 Try print something on console on login success. 尝试在登录成功后在控制台上打印一些内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM