title: UItextview resize height for all devices with Keyboard Swift
body: <p>I have one UIToolBar in top of Keyboard here is my code </p>
  
  <pre><code>extension UIViewController: UITextFieldDelegate {
      func addToolBar(textField: UITextField) {
          let toolBar = UIToolbar()
          toolBar.barStyle = .default
          toolBar.isTranslucent = true
          toolBar.tintColor = UIColor(red: 76 / 255, green: 217 / 255, blue: 100 / 255, alpha: 1)
          let doneButton = UIBarButtonItem(title: "Done", style: .done, target: self, action: #selector(donePressed))
          let cancelButton = UIBarButtonItem(title: "Cancel", style: .plain, target: self, action: #selector(cancelPressed))
          let spaceButton = UIBarButtonItem(barButtonSystemItem: .flexibleSpace, target: nil, action: nil)
          toolBar.setItems([cancelButton, spaceButton, doneButton], animated: false)
  
  
          toolBar.isUserInteractionEnabled = true
          toolBar.sizeToFit()
  
          textField.delegate = self
          textField.inputAccessoryView = toolBar
      }
  </code></pre>
  
  <p>I have one UITextview in Storyboard, and I want to resize the UITextView <strong>height</strong> with <strong>Y=0</strong> so it fits in Toolbar for all devices. I know the uitoolbar it's 44 <strong>height</strong>. Does anyone know how can I do this?</p>