PFFacebookUtils logInInBackgroundWithReadPermissions does not open Facebook after iOS9 update

I updated iOS9, and now my Facebook login button, which calls:

[PFFacebookUtils logInInBackgroundWithReadPermissions:@[@"public_profile"] block:^(PFUser * _Nullable user, NSError * _Nullable error) {...} 

not even trying to open facebook.

I added the necessary files to the info.plist file ( as suggested here ), which now looks like this:

enter image description here

But the FB application does not start, and the block is never called. Any ideas?

+6
source share
1 answer

Logging in (Parse) Facebook in iOS9 will use Facebook by default in the Safari browser instead of the Facebook application, as it is now considered the best user interface.

If clicking on the login button does not lead you to Safari, you should check if you updated the SDK for Facebook and Parse, and also changed to the already described plist.

+2
source

All Articles