0

I have define login behavior of fbsdk to FBSDKLoginBehavior.web but the issue i am facing is that it always get open in Arabic and when I try to change language it redirects to safari instead of changing language on webview of application. Any help will be appreciated.enter image description here

3
  • Hi @Muhammad, Did you get any solution? Commented Aug 2, 2018 at 5:09
  • Sadly but we dont have any solution for it yet Commented Aug 7, 2018 at 8:43
  • what's your device default language?
    – AtulParmar
    Commented Jan 16, 2019 at 9:19

1 Answer 1

0

Change login behavior of the FBSDKLoginManager object before making the login call.

let login = FBSDKLoginManager()
login.loginBehavior = .systemAccount;

And also upgrade to the latest Facebook SDK which is available at the following link, or update your pod if you are using Cocoapods. Also don't forget to uninstall the App and install again before testing.

Not the answer you're looking for? Browse other questions tagged or ask your own question.