title: iPhone NavigationController - same view pushed, different layouts received
body: <p>I have a tabbed application with each tab having a navigation controller. I use helper code to push a view/controller pair onto the navigation stack yet when I call this same code from two different places I get (suprizingly) different results. In one case the view renders lower than in the other case, seemingly lower by a navigation bar height.</p>
  
  <p>Pushed from one tab (in good position) :</p>
  
  <p><img src="https://content.screencast.com/users/adam_jack/folders/Jing/media/3f9fb818-5678-47b7-8b83-37d34eae2baf/00000006.png" height="400"></p>
  
  <p>Pushed from another tab (too low):</p>
  
  <p><img src="https://content.screencast.com/users/adam_jack/folders/Jing/media/88382e93-231e-4b7d-a003-b2b1f638f932/00000005.png" height="400">     </p>
  
  <p>The XIB:</p>
  
  <p><img src="https://content.screencast.com/users/adam_jack/folders/Jing/media/bba933c4-0a71-4caf-a7a6-a5141f5bc37b/00000007.png" height="400"></p>
  
  <p>Here is the push code:</p>
  
  <pre><code>+ (void)navigateToLocation:(Location*)location controller:(UIViewController*)vc withDelegate:(NSObject &lt;LocationEditDelegate&gt; *)delegate {
  
      LocationDetailsViewController *detailsController = [[LocationDetailsViewController alloc] initWithNibName:@"LocationDetailsViewController" bundle:nil];
  
      detailsController.title = [location display];
      detailsController.location = location;
      detailsController.delegate = delegate;
  
      // Push the detail view controller
      [[vc navigationController] pushViewController:detailsController animated:YES];
  
      [detailsController release];
  }
  </code></pre>
  
  <p>Can anybody help me understand what might be going on, and how I get inside this?</p>
  
  <p>I have 2.2.1 installed and build/deploy using 2.2.</p>
  
  <p>Since comments do not appear to show, I am annotating at the bottom. Edit this if I am doing things incorrectly:</p>
  
  <ul>
  <li>I have added simulated metrics with no change in behavior.</li>
  </ul>