title: Back Button in UINavigationBar Hide Problem
body: <p>When I use this: <code>[self.navigationItem setHidesBackButton:YES animated:NO];</code> to hide the back button in my navigationBar, my title doesn't get centered. It prints like the button is still there.</p>
  
  <p>does anyone know why this happens, and how to fix it?</p>
  
  <p>EDIT:</p>
  
  <p>My program is like so: my rootViewController is a navigation controller, and I set that so the navigation bar is hidden. Then I push to another UIViewController, which I make the navigation bar appear again, but make the back button disappear.</p>
  
  <p>I tried the setting <code>self.navigationItem.backBarButtonItem = nil;</code>, but it didn't make the backbutton disappear.</p>
  
  <p>Here's some pictures for reference:</p>
  
  <p><img src="https://imgur.com/C7Qjy.png" alt="Picture with back button">
  <img src="https://imgur.com/TN4ta.png" alt="Picture without"></p>