title: UINavigationController setViewController:animated: navigation bar difficulties
body: <p>I'm having an incredibly frustrating problem that appears to be a bug, but I have a very hard time believing no one else has come across this. My application's root view controller is a UITabBarController, where each tab is a UINavigationController. Everything works great.</p>
  
  <p>Now I've come to a place where I want to edit the stack, so I rearrange the viewControllers of the current navigation controller and then do:</p>
  
  <pre><code>[self.navigationController setViewControllers:newViewControllers animated:YES];
  </code></pre>
  
  <p>The stack is correctly popped/pushed to the top view controller, but the navigation bar does not update to the current view controller and seems to remain exactly as it did with the viewController before the pop. If I do:</p>
  
  <pre><code>[self.navigationController popToViewController:someViewController animated:YES];
  </code></pre>
  
  <p>Everything works perfectly. Has anyone ever come across this before? Is there a workaround? Something I'm doing wrong?</p>