Facebook login page showing blank page in IOS 9

后端 未结 2 1724
孤独总比滥情好
孤独总比滥情好 2021-01-13 14:07

I am using FBSDKCoreKit (4.12.0) FBSDKLoginKit (4.12.0) first i am getting screen 1

This method is block is never called .

FBSDKLoginManager *login         


        
2条回答
  •  情书的邮戳
    2021-01-13 15:09

    I used did code to sign in Fabook, both work fine on iOS 8 and 9. Hope this helps you.

    [[[FBSDKGraphRequest alloc] initWithGraphPath:@"me" parameters:@{@"fields": @"email,name,first_name,last_name"}] startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result, NSError *error) {
            if (!error) {
               //Login success and callback here
            } else {
               //Login failed
            }
        }];
    

提交回复
热议问题