在iOS9更新后,PFFacebookUtils logInInBackgroundWithReadPermissions不会打开Facebook [英] PFFacebookUtils logInInBackgroundWithReadPermissions doesn't open Facebook after iOS9 update
问题描述
[PFFacebookUtils logInInBackgroundWithReadPermissions:@ [ @public_profile] block:^(PFUser * _Nullable user,NSError * _Nullable error){...}
甚至没有尝试打开Facebook。
我已将必要的文件添加到我的info.plist文件(
但FB应用程序不启动,并且块从不被调用。任何想法?
默认情况下,iOS9中的(Parse)Facebook登录将在Safari浏览器中使用Facebook,而不是Facebook应用因为现在被认为是最好的用户体验。
如果点击登录按钮不会将您带到Safari,那么您应该检查是否更新了Facebook和Parse的SDK,以及更改为plist已经描述过。
I've updated to iOS9, and now my Facebook login button, which calls:
[PFFacebookUtils logInInBackgroundWithReadPermissions:@[@"public_profile"] block:^(PFUser * _Nullable user, NSError * _Nullable error) {...}
doesn't even attempt to open Facebook.
I've added the necessary files to my info.plist file (as suggested here), which now looks like this:
But the FB app doesn't launch, and the block is never called. Any ideas?
The (Parse) Facebook login in iOS9 by default will use Facebook in the safari browser instead of the Facebook App as this is now regarded as the best user experience.
If the click on the login button does not take you to Safari, you should check if you've updated the SDKs for Facebook and Parse as well as the changeds to the plist already described.
这篇关于在iOS9更新后,PFFacebookUtils logInInBackgroundWithReadPermissions不会打开Facebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!