title: Navigation Bar Shrinking after relaunching app
body: <p>I got a problem, I need to build something similar to this, where the red bar is a UIImageView and the blue bar is the navigation bar:
  <a href="http://imagizer.imageshack.us/v2/800x600q90/30/iqtt.png" rel="nofollow">http://imagizer.imageshack.us/v2/800x600q90/30/iqtt.png</a></p>
  
  <p>I was able to make it with the following code, my problem is that when I press home button to close the app and reopen it, my navigation bar shrinks, on the link image it has 88px and after relaunch 44px, so it mess with my layout.</p>
  
  <p>Here is the code I've used on viewDidAppear:</p>
  
  <pre><code>    - (void)viewDidAppear:(BOOL)animated {
           [super viewDidAppear:animated];
           self.navigationController.view.frame = CGRectMake(0, 0, 320, 568);
           self.navigationController.navigationBar.frame = CGRectMake(0, 0, 320, 88);
  
           v = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 44)];
           UIImageView *img = [[UIImageView alloc] initWithFrame:CGRectMake(33, 5, 255, 29)];
           [img setImage:[UIImage imageNamed:@"top-logo"]];
           [v addSubview:img];
           [self.navigationController.navigationBar addSubview:v];
      }
  </code></pre>
  
  <p>How could I fix that behavior?</p>