title: Scroll all the way down to the bottom of UITableView
body: <p>I've a <code>UITableView</code> and I'm trying to load 36 rows into it and then scroll all the way down the last cell. </p>
  
  <p>I've tried this: </p>
  
  <pre><code>func reloadData(){
      chatroomTableView.reloadData()
      chatroomTableView.scrollToBottom(true)
  }
  
  
  extension UITableView {
      func scrollToBottom(animated: Bool = true) {
          let sections = self.numberOfSections
          let rows = self.numberOfRowsInSection(sections - 1)
          if (rows &gt; 0){
              self.scrollToRowAtIndexPath(NSIndexPath(forRow: rows - 1, inSection: sections - 1), atScrollPosition: .Bottom, animated: true)
          }
      }
  }
  </code></pre>
  
  <p>But it only scrolls down halfway. </p>