title: Is it possible to hide the tabbar when a button is pressed to allow a full screen view of the content?
body: <p>I have a UITabBar in the detail view of my navigation based application.  I am storing text and images in a tableview and would like the user to be able to tap on a cell to hide the navigation controller and the tabbar for full screen viewing of the content.  </p>
  
  <p>I found this code for hiding the top bars, but it does not seem as easy to hide the tabbar.</p>
  
  <pre><code>[[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES];
   [self.navigationController setNavigationBarHidden:YES animated:YES];
  </code></pre>
  
  <p>Does anyone know how to do this?  </p>
  
  <p>This code does not work to hide the tabBar once the view is already loaded.</p>
  
  <pre><code>  yourTabViewController.hidesBottomBarWhenPushed = YES;
  </code></pre>
  
  <hr>
  
  <p>This is the code I found.  Seems to only work when the view is loaded though, so it can't be used to hide the tabbar once it has already appeared. I'm still struggling to make this work.  Please help!!!</p>
  
  <pre><code>    self.tabBarController.tabBar.hidden = YES;
  </code></pre>