I have a tabbed application with each tab having a navigation controller. I use helper code to direct the view / controller pair to the navigation stack when I call the same code from two different places that get (super-tasks) different results. In one case, the view becomes lower than in the other case, apparently lower at the height of the navigation bar.
Inserted from one tab (in good position):

Discarded from another tab (too low):

XIB:

Here is the push code:
+ (void)navigateToLocation:(Location*)location controller:(UIViewController*)vc withDelegate:(NSObject <LocationEditDelegate> *)delegate { LocationDetailsViewController *detailsController = [[LocationDetailsViewController alloc] initWithNibName:@"LocationDetailsViewController" bundle:nil]; detailsController.title = [location display]; detailsController.location = location; detailsController.delegate = delegate;
Can someone help me understand what can happen and how do I get into this?
I have 2.2.1, install and build / deploy using 2.2.
Since comments are not displayed, I am annotated below. Change this if I do wrong:
- I added simulated indicators with no change in behavior.
source share