Okay so I'm trying to add a subview to my navigationController's navigation bar, which works perfectly, however, when pushing a detail controller, I don't want that subview from the pushing controller to be seen in the detail view controller's navigation bar.
I appreciate any help/pointers offered. To restate: I need the subview to only be displayed in the root of the navigation controller, and to not be in any detail controllers.
Here's my current code for creating and adding the navigationController's subview:
- (void)viewDidLoad
{
[super viewDidLoad];
self.ImageView = [[UIImageView alloc]init];
self.ImageView.frame = CGRectMake(0, 8.5, 320, 36);
self.ImageView.contentMode = UIViewContentModeScaleAspectFit;
self.ImageView.image = [UIImage imageNamed:@"Logo"];
self.ImageView.clipsToBounds = YES;
[self.navigationController.navigationBar addSubview:self.ImageView];
}