title: iPhone SDK: Setting the size of UISearchDisplayController's table view
body: <p>My app's table view does not occupy the full screen height, as I've allowed 50px at the bottom for a banner.</p>
  
  <p>When I begin typing in the search bar, the search results table view is larger; it fills all available screen space between the search bar and the tab bar.  This means that the very last search result is obscured by the banner.</p>
  
  <p>How do I specify the size of the table view used by UISearchDisplayController?  There's no bounds or frame property that I can see.</p>
  
  <p><em>EDIT TO ADD SCREENSHOTS:</em></p>
  
  <p>This is how the table view is set up in IB.  It ends 50px short of the synthesized tab bar.</p>
  
  <p><a href="https://i.stack.imgur.com/wMdTf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wMdTf.png" alt="alt text"></a><br>
  <sub>(source: <a href="http://iphone.lightwood.net/StackOverflow/gstableviewinib.png" rel="nofollow noreferrer">lightwood.net</a>)</sub>  </p>
  
  <p>This is how content displays normally.  I've scrolled to the very bottom here.
  <a href="https://i.stack.imgur.com/NLtgd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NLtgd.png" alt="alt text"></a><br>
  <sub>(source: <a href="http://iphone.lightwood.net/StackOverflow/gstableviewatbottom.png" rel="nofollow noreferrer">lightwood.net</a>)</sub>  </p>
  
  <p>This is how it displays when searching.  Again, I've scrolled to the very bottom.  If I disable the banner ad, I can see that the search display table spreads right down to the tab bar.</p>
  
  <p><a href="https://i.stack.imgur.com/u2sl9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u2sl9.png" alt="alt text"></a><br>
  <sub>(source: <a href="http://iphone.lightwood.net/StackOverflow/gssearchviewatbottom.png" rel="nofollow noreferrer">lightwood.net</a>)</sub>  </p>