title: iOS - Hide navigation bar only on one view?
body: <p>I have a login view controller that, upon successful login, pushes my user to another view controller (ViewControllerB). That being said, ViewControllerB is embedded in a UINavigationController that I've already formatted with a menu button. </p>
  
  <p>Because I'm using a push segue from the login view controller, this segue causes my UINavigationBar to be covered with a blank nav bar and a back button (not cool). That said, I tried to hide the navigation controller from login view controller with the following code:</p>
  
  <p><strong>loginviewcontroller.m</strong></p>
  
  <pre><code>- (void) viewWillAppear:(BOOL)animated {
      [super viewWillAppear:animated];
      [self.navigationController setNavigationBarHidden:YES animated:animated];
  }
  </code></pre>
  
  <p>When I do this, the unwanted navigation bar with the back button covering my other nav bar is removed! Great. However when I then navigate to other screens, my nav bar remains hidden (and I want it to appear once my user makes it past ViewControllerB). </p>
  
  <p>I tried using a modal segue upon successful login, but of course, that keeps me from being able to navigate to other screens with segues upon login.</p>
  
  <p>Any idea how I can go about doing this?</p>