Currently i am working in iPhone app, I have two screen like A and B, A has no navigation bar, but B has navigation bar. so i set like this.
Class A:
Try setting the navigationBarHidden: in viewWillDisAppear of class B
navigationBarHidden:
viewWillDisAppear
in class B
-(void)viewWillDisAppear:(BOOL)animated { [self.navigationController setNavigationBarHidden:YES]; }