title: Cocoa-Touch: dynamically resizing views
body: <p>I have a <code>UITableView</code> which occupies the entire screen, besides a navigation bar.
  The <code>UINavigationItem</code> has a <code>UIBarButtonItem</code> that shows a previously hidden <code>UIPickerView</code> when tapped.</p>
  
  <p>I'm trying to resize the <code>UITableView</code> so that it occupies the rest of the screen not used by the now visible <code>UIPickerView</code>.</p>
  
  <p>I know the framework already does something like this, when focusing a text field, it resizes the entire app's view and pops up the keyboard at the bottom.</p>
  
  <p>What's the best way to do this?<br>
  I'd just like to make sure I'm not doing it wrong :)</p>