I\'ve followed this guide to update my application to use Facebook SDK 4.6 to work properly when built with the iOS 9 SDK.
When I tap the login button now, a Safari
I have just come across this issue, thanks @Hesham for the fix.
Here is the Swift3 fix:
func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any]) -> Bool {
return FBSDKApplicationDelegate.sharedInstance().application(
app,
open: url,
sourceApplication: options[UIApplicationOpenURLOptionsKey.sourceApplication] as! String,
annotation: options[UIApplicationOpenURLOptionsKey.annotation])
}