title: Facebook Logout is not working in new SDK V.4.1.0 in ios?
body: <p>Friends I want to integrate Facebook in my App, so that I am download new Facebook SDK v.4.1.0, for Facebook login button use the class of <code>FBSDKLoginButton</code> as below code in Swift.</p>
  
  <pre><code>if (FBSDKAccessToken.currentAccessToken() != nil)
  {
      // User is already logged in, do work such as go to next view controller.
  
      // Or Show Logout Button
      let loginView : FBSDKLoginButton = FBSDKLoginButton()
      self.view.addSubview(loginView)
      loginView.center = self.view.center
      loginView.readPermissions = ["public_profile", "email", "user_friends"]
      loginView.delegate = self
      self.returnUserData()
  }
  else
  {
      let loginView : FBSDKLoginButton = FBSDKLoginButton()
      self.loginButtonDidLogOut(loginView)
      self.view.addSubview(loginView)
      loginView.center = self.view.center
      loginView.readPermissions = ["public_profile", "email", "user_friends"]
      loginView.delegate = self
   }
  }
  </code></pre>
  
  <p>As above code there is display "Log in with Facebook" button. </p>
  
  <p><img src="https://i.stack.imgur.com/4uY8E.png" alt="enter image description here"></p>
  
  <p>After Successfully login thare is display logout button. when I click on logout button then its delegate is called - delegate class <code>FBSDKLoginButtonDelegate</code></p>
  
  <p>Delegate method of logout : </p>
  
  <pre><code>func loginButtonDidLogOut(loginButton: FBSDKLoginButton!) {
      println("User Logged Out")
  
      FBSDKAccessToken.setCurrentAccessToken(nil)
      FBSDKProfile.setCurrentProfile(nil)
  
      let manager = FBSDKLoginManager()
      manager.logOut()
  
  }
  </code></pre>
  
  <p>in delegate I am clear token and also called function of logout inside class of <code>FBSDKLoginManager</code>. But each time get authorized screen of user.
  Not get Login screen so that another user can't login with facebook. each time I have to clear browser history.</p>
  
  <p>without clear browser history, There is not display login page so that another user can't login.</p>
  
  <p>Qusetion : <a href="https://developers.facebook.com/bugs/433466833500920" rel="noreferrer">Facebook BUG</a> </p>
  
  <p>Each time display screen after logout :</p>
  
  <p><img src="https://i.stack.imgur.com/LoWY3.png" alt="enter image description here"></p>