FBSDKLoginManager logInWithReadPermissions: fromViewController: handler: completion not called on app first run

后端 未结 3 2196
故里飘歌
故里飘歌 2021-01-16 00:00

I have a Facebook login-enabled app and for some reason FBSDKLoginManager logInWithReadPermissions: fromViewController: handler: is not called on the very first

3条回答
  •  暖寄归人
    2021-01-16 00:24

    This working in my case .

    1 .Create instance of FBloginManager in interface.

    FBSDKLoginManager *manager
    

    2 .Initialise in ViewDidLoad.

    manager = [FBSDKLoginManager new]
    

    3 .And finally call login permission method using this instace of FBLoginManager.

提交回复
热议问题