title: Present ViewController in front of UITabBarController's tabBar and hide this tabBar
body: <p>In my project I have a <code>UITabBarController</code>. And on one of it's <code>ViewControllers</code> I have button. When I click this button, a new <code>ViewController</code> is presenting modally.</p>
  
  <p>The problem is, when the second VC is presenting, <code>tabBarController</code>'s <code>tabBar</code> is still visible. When I try to hide it in first <code>ViewController</code>'s action <code>openFiltersList()</code> with this method:</p>
  
  <p><code>self.tabBarController?.tabBar.hidden = true</code></p>
  
  <p>it hides, but when I'm trying to unhide it, when I dismiss second VC, setting this parameter to <code>false</code>doesn't work, <code>tabBar</code> stays hidden.
  Here's the code for first and second:</p>
  
  <p>First (<code>InvitesViewController</code>, one of the tabBarController's View Controllers):</p>
  
  <pre><code>func openFiltersList() {
  
          var filtersView : UIViewController = self.storyboard?.instantiateViewControllerWithIdentifier("filtersViewController") as! FiltersViewController
          filtersView.modalPresentationStyle = UIModalPresentationStyle.OverCurrentContext
  
  
          self.presentViewController(filtersView, animated: true) { () -&gt; Void in
  
              UIView.animateWithDuration(0.3, animations: { () -&gt; Void in
  
                  filtersView.view.backgroundColor = UIColor(red: 0.0/255.0, green: 0.0/255.0, blue: 0.0/255.0, alpha: 0.5)
  
              })
  
          }
  
          self.tabBarController?.tabBar.hidden = true
  
      }
  </code></pre>
  
  <p>Second (<code>FiltersViewController</code>, not embedded anywhere):</p>
  
  <pre><code>@IBAction func dismiss(sender: AnyObject) { // close button action
  
          self.dismissViewControllerAnimated(true, completion: nil)
  
          var destinationVC : UIViewController = self.storyboard?.instantiateViewControllerWithIdentifier("invitesViewController") as! InvitesViewController
          destinationVC.tabBarController?.tabBar.hidden = false
  
      }
  </code></pre>
  
  <p>I'm using storyboard for interface.</p>