title: UITableView's footer is not scrolling along with the table when implemented tableView:heightForFooterInSection:
body: <p>This is how it looks when <code>tableView:heightForFooterInSection:</code> is not implemented:</p>
  
  <p><a href="https://i.stack.imgur.com/Utvy6l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Utvy6l.png" alt="enter image description here"></a></p>
  
  <p>Once I add this line to the code:</p>
  
  <pre><code>func tableView(tableView: UITableView, heightForFooterInSection section: Int) -&gt; CGFloat {
      return 120
  }
  </code></pre>
  
  <p>The following things happen:</p>
  
  <ol>
  <li><em>when I start scrolling to the bottom</em></li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/RQhiel.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RQhiel.png" alt="enter image description here"></a></p>
  
  <ol start="2">
  <li><em>when I finish scrolling to the bottom</em></li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/VMsatl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VMsatl.png" alt="enter image description here"></a></p>
  
  <p><strong>Why there is a gray space fixed at the bottom of screen?</strong> It should not be like that. What is wrong?</p>