title: iOS Background Image Being Squished by Navbar
body: <p>I have an app that is using a <code>UITabBar</code> and <code>UINavigationBar</code>. I am creating a <code>UIImageView</code> that contains my background image and then add that <code>UIImageView</code> to my <code>self.view</code> as a subview. This causes the background to appear "squished" vertically. The background image is not starting until the bottom of the NavBar and then runs down behind the TabBar.</p>
  
  <p>Here's the code I'm using to add the background: </p>
  
  <pre><code>UIImageView* backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background.png"]];
      [backgroundView setFrame:CGRectMake(0, 0, 320, 480)];
      [self.view addSubview:backgroundView];
  </code></pre>
  
  <p>Any ideas about how to keep the actual size of the background would be greatly appreciated.</p>