title: Navigation Controller Toolbar Size & Location - iOS Swift
body: <p>Hello I am currently working on an application in Swift 3.  I am having problems in a table view controller which is embedded in a navigation controller. I am currently displaying the navigationController toolbar.  However on the initial table view controller I set the navigation bar to hidden.  This results in the toolbar being resized and relocated.</p>
  
  <p>Does anyone know how I can reload the toolbar to follow the following line of code: (This is called in view will appear)</p>
  
  <pre><code>self.navigationController?.toolbar.frame = CGRect(x: 0, y: UIScreen.main.bounds.height-80, width: self.view.frame.size.width, height: 80)
  </code></pre>
  
  <p>I cannot find out how to resize the toolbar after hiding the navigation bar using the following: (This is called in view did appear)</p>
  
  <pre><code>self.navigationController?.setNavigationBarHidden(true, animated: true)
  </code></pre>