title: How can I hide the bottom bar when pushed but stay in the main view Controller
body: <p>I want to hide the bottom bar when I press a button or a cell ( in a table )  in the main view controller to push to another view controller and <strong>not when I press a button in the bottom bar</strong> .
  And when I back to that main view controller <strong>I want get back the bottom bar</strong> </p>
  
  <p>I tried the code in the main view controller : <strong>hidesBottomBarWhenPushed = true</strong> </p>
  
  <p>But when I press on an item in the bottom bar and get back to the main view controller the bottom bar is disappear, and the same when I go to new view controller (by push from the main view controller), the bottom bar in the main view controller disappears.</p>