title: FBSDKLoginManager() Dismiss .web view programmatically
body: <p>I have a FBSDK login webview, I can dismiss it using the buttons with the app and completing social share task. </p>
  
  <p>I'm trying to implement an app wide function that will remove it if no touches are detected after three minutes, when popping back to the home view controller the FB login view is still visible. </p>
  
  <p>How do I programmatically dismiss it without user interaction. </p>
  
  <pre><code>var loginView:FBSDKLoginManager = FBSDKLoginManager()
  
  loginView.loginBehavior = FBSDKLoginBehavior.web
  
  loginView.logIn(withPublishPermissions: ["publish_actions"]){    (loginResult: FBSDKLoginManagerLoginResult?, error: Error?) in
  
      if error != nil
                     ...
  </code></pre>
  
  <p>How do I dismiss the FBSDKLoginBehavior.web programmatically if no user is there to cancel this login process. </p>