title: Swift Facebook SDK Logout
body: <p>I have integrated the facebook sdk into my ios app but want to create a custom logout button as i think the uiview logout button the sdk provides does not fit my color scheme. does anyone know how I can run a method to do a facebook logout?</p>
  
  <p>I have tried the following code but it doesn't work</p>
  
  <pre><code>var theFBSession = FBSession.activeSession()
  var check = FBSession.closeAndClearTokenInformation(theFBSession)
  </code></pre>