I am using a toolbar in the inputAccessoryView property of a textView. When the keyboard shows, it displays the toolbar as expected. When the device is rotated I want to rem
Swift 5
I use this:
func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool { self.view.endEditing(true) return true }