title: iPhone : TabBar overlaps above UIScrollView
body: <p>I have created an iPhone UI programmatically but I just can't figure out how to fit a view so that it doesn't get overlapped by the TabBar. Here's the ownership hierarchy:</p>
  
  <h2>- AppDelegate</h2>
  
  <ul>
  <li>UITabBarController
  
  <ul>
  <li>UINavigationController <em>x</em>
  
  <ul>
  <li>UITableViewController
  
  <ul>
  <li>UIViewController (with XIB)
  
  <ul>
  <li>UIScrollViewController (in the same XIB as parent)</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>The problem is that my TabBar hides a part of my UIScrollView (and my tableviews as well, but that's not important). I tried manipulating the scrollview content size and the view frame size but with no luck.</p>
  
  <p>So far the best I could do was to add a 60px padding on the scrollview's content size like this:</p>
  
  <pre><code>[scrollView setContentSize:CGSizeMake(self.view.frame.size.width, self.view.frame.size.height+60)];
  </code></pre>
  
  <p>Thanks for your help!</p>