Safari web view opening when logging to FB through iOS 9

后端 未结 5 1714
清歌不尽
清歌不尽 2020-12-10 04:28

I\'ve followed this guide to update my application to use Facebook SDK 4.6 for iOS 9 SDK.

When I tap the login button now, a Safari view controller gets presented, w

5条回答
  •  一生所求
    2020-12-10 04:55

    From FacebookSDK version 4.6 and above, they are forcing every login to use the Safari View Controller on iOS 9.

    There are 2 way to fix this:

    1. Use the lower version of SDK
    2. Enable native app login again by using this code https://github.com/tuantmdev/MTNativeFacebookLogin

    Hope this help!

提交回复
热议问题