开发者

White blank screen after login in Facebook with FBConnect iphone

开发者 https://www.devze.com 2023-02-26 02:25 出处:网络
I am using FBConnect API...And I am using this code while pressing button.. - (IBAction)postGradesTapped:(id)sender {

I am using FBConnect API...And I am using this code while pressing button..

- (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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号