title: Changing height of view inside UINavigationController
body: <p>I want to change the height of a <code>UIViewController's</code> view that is inside a <code>UINavigationController</code> to display a banner at the bottom so that it doesn't obscure anything.</p>
  
  <p>I thought this would be pretty easy by just changing the view's frame in the <code>viewDidLoad</code> but that didn't work:</p>
  
  <pre><code>CGRect frame = self.view.frame;
  self.view.frame = CGRectMake(frame.origin.x, frame.origin.y, frame.size.width, frame.size.height - 49.0f);
  </code></pre>
  
  <p>I also tried to add</p>
  
  <pre><code>[navigationController.view setAutoresizesSubviews:NO];
  </code></pre>
  
  <p>after initiating the <code>UINavigationController</code> but it still looks the same.</p>
  
  <p>The only option I can think of right now is to use the <code>UINavigationController</code> inside a dummy <code>UITabBarController</code> that will be obscured by the banner but that seems unnecessarily complicated to me.</p>
  
  <p>Is there any way to change the height of the view controller's view inside a <code>UINavigationController</code>?</p>