title: Pushing UIViewController above UITabBar
body: <p>I have a <code>UIViewController</code> called <code>ListVC</code>. <code>ListVC</code> has a <code>UITabBar</code> that the user can switch tabs with. It also has <code>UINavigationController</code>.</p>
  
  <p>In <code>ListVC</code> I have a button, that I want to push a new ViewController called <code>DetailVC</code> when it's pressed (with the <code>NavigationController</code>). I want to present <code>DeatilVC</code> without a <code>UITabBar</code>.</p>
  
  <p>The problem is that when I'm using the <code>pushViewController(animated)</code> method, the view still has the <code>UITabBar</code>.</p>
  
  <p>How can I push the view (I don't want to present it modally) above the <code>UITabBar</code>?</p>
  
  <p>You can see an example of it on <code>Whatsapp</code> when selecting a chat from the chat list. Image:</p>
  
  <p><a href="https://i.stack.imgur.com/mdycl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mdycl.jpg" alt="Imafe"></a></p>
  
  <p>Code:</p>
  
  <p><code>self.navigationController?.pushViewController(detailVC, animated: true)</code></p>
  
  <p>Thank you!</p>