title: Making back button for root view in UINavigationController
body: <p>So I created a <em>UINavigationController</em> manually, set it as my <em>UIWindow's</em> rootViewController, and I would like to use a back button to exit the <em>UINavigationController</em> and load another viewController in its place. However, the <em>backItem</em> property of the <em>UINavigationBar</em> is <em>readonly</em>, so I don't know how to set it properly (it is <em>readonly</em> and defaults to nil in the root navigation view). How can I achieve this (or similar effect, I want to be able to effectively "exit" this <em>UINavigationController</em> by pressing the back button on the root view).</p>
  
  <p>Alternatively, is this bad form? How should I escape the root view of a <em>UINavigationController</em>?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Attempted Legolas' solution with the following code: (some names have been changed)</p>
  
  <pre><code>UINavigationController* navController = [[UINavigationController alloc] initWithRootViewController:plvc]; // plvc being the first viewcontroller
  MyAppDelegate* appDelegate = [Utility getAppDelegate];
  appDelegate.window.rootViewController = navController;
  
  UIBarButtonItem* backButton = [[UIBarButtonItem alloc] initWithTitle:@"Start" style:UIBarButtonItemStyleBordered target:self action:@selector(initializeStuff)];
  navController.navigationItem.leftBarButtonItem = backButton;
  [navController.navigationItem setHidesBackButton:YES animated:YES];
  [navController.view setNeedsDisplay];
  </code></pre>
  
  <p>But the button does not display. What am I doing wrong? The other back buttons display properly, but this one still does not.</p>