title: UINavigationController background color while flipping views
body: <p>Okay, so here it goes. I have a project with a fairly complex interface, including a hierarchical navigator on which when I select a leaf item, I'm presenting either one of two content controllers (because the user can view products which are of two kinds that need their own controller). Think of it as a folder navigator, where folder are nested, and there are only two kind of files, each having its own viewer. When I select a file, I present a modal controller, either a "docAViewController", either a "docBViewController".</p>
  
  <p>That's working perfectly.</p>
  
  <p>My problem is: the docBViewController is a UINavigationController that flips between two UIViewControllers. (I've inherited that from another developer's architecture and have to cope with it).</p>
  
  <p>When I flip the two view controllers (a viewer and an info pane), the background color is white when I want it to be black. The docBViewController is created by code (no XIB), and I've tried setting its background color by <code>[self.view setBackgroundColor:[UIColor blackColor]]</code> in its <code>viewDidLoad</code> method, it does nothing.</p>
  
  <p>Anyone knows where/how I can achieve that?</p>