title: How to set automatic height of static cell in UITableViewController?
body: <p>I am using IB and storyboard and I defined <code>UITableViewController</code>. There I defined three <strong>static</strong> cells. The first two should have a given height but the last one should automatically fill the remaining space (anchor to the bottom of the view). How can I achieve this? I can use autolayout for the controls <strong>inside</strong> the cell but it is greyed out for the cell itself.</p>
  
  <p>The best solution would be to do this from IB but programmatic solutions are also welcomed.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>This is how it looks in my storyboard (colors are for visualizing separate controls, each control has required constraints):
  <img src="https://i.stack.imgur.com/AHSuh.png" alt="Storyboard view controller"></p>
  
  <p>And after launching:
  <img src="https://i.stack.imgur.com/FQPgR.png" alt="Simulator view">
  Note that the text view ends below the bottom of the screen.</p>
  
  <p>I forgot to mention that I target iOS 7.0+.</p>