I just upgraded the app to Xcode 7 / Swift 2.0, and I'm afraid of logging into Facebook through AppSwitch. I am on the latest FBSDK (4.6) and have done everything in accordance with the upgrade guide . However, on iOS9, Facebook is logged in through the browser in the application, the application does not work anymore. I also tried getting the loginbehavior setting, but no luck:
let manager = FBSDKLoginManager() manager.loginBehavior = FBSDKLoginBehavior.Native manager.logInWithReadPermissions(facebookReadPermissions, fromViewController: nil, handler: { (loginResult, error) -> Void in
Is there anything I can do to make appswitch work again?
Thanks!
source share