No FBSession in Facebook iOS SDK 4.x
问题 There is no more class FBSession in new Facebook iOS SDK v4.x. How can I find out whether user is logged in or not now? Thanks in advance. 回答1: Vincent is right, check [FBSDKAccessToken currentAccessToken] to determine if the user is logged in. 回答2: To check if the user logged in and if so, navigate to another view: if ([FBSDKAccessToken currentAccessToken]) { // User is logged in [self performSelector:@selector(accessGrantedNavigation) withObject:nil afterDelay:0.0]; } -(void