Login Facebook in webView with SDK [Swift]
<p>I'm developing an app in which I have login via facebook SDK. </p>

<p>I think that when I logged in and webView load the <a href="https://www.facebook.com" rel="nofollow noreferrer">https://www.facebook.com</a></p>

<p>and automatically login own facebook but it doesn't work </p>

<p>Still have to input Account and Password <a href="https://i.stack.imgur.com/o0XvM.png" rel="nofollow noreferrer">enter image description here</a></p>

<pre><code>func loginButton(_ loginButton: FBSDKLoginButton!, didCompleteWith result: FBSDKLoginManagerLoginResult!, error: Error!) {
    if error != nil
    {
        print(error)
        return
    }
    else if (FBSDKAccessToken.current() != nil)
    {
        print("Successfully logged in with facebook...")
        webView.loadRequest(URLRequest(url: URL(string:"https://www.facebook.com")!))
    }
}
</code></pre>