title: Hiding UIToolBar for child views of UITableViewController
body: <p>My main controller is a subclass of UITableViewController with a UIToolBar at the bottom and when a row is selected, I'd like to display another view without the toolbar. How can I hide the UIToolBar in the child view? Right now, it's present throughout all child views unless they're created as modal.</p>
  
  <p>Toolbar is created in RootController:</p>
  
  <pre><code>self.toolbar = [[UIToolbar alloc] init];
  // add tool bar items here
  [self.navigationController.view addSubview:toolbar];
  </code></pre>
  
  <p>RootController displays its child views as such:</p>
  
  <pre><code>UIViewController *controller = [[UIViewController alloc] init...]
  [self.navigationController pushViewController:controller animated:YES];
  </code></pre>
  
  <p>RootController is instantiated as such in the app delegate's applicationDidFinishLaunching:</p>
  
  <pre><code>RootController *rootcontroller = [[RootController alloc] initWithStyle:UITableViewStyleGrouped];
  self.navigationController = [[UINavigationController alloc] initWithRootViewController:rootcontroller];
  
  [rootcontroller release];
  
  [window addSubview:[self.navigationController view]];
  </code></pre>
  
  <p>If I add the toolbar to [self.view] within RootController instead of navigationController's view, the toolbar disappears alltogether..</p>