| | |
| | | } |
| | | |
| | | if keyboardConfiguration.overrideAppearance, |
| | | let textInput: UITextInput = textFieldView as? UITextInput, |
| | | let textInput: any UITextInput = textFieldView as? (any UITextInput), |
| | | textInput.keyboardAppearance != keyboardConfiguration.appearance { |
| | | // Setting textField keyboard appearance and reloading inputViews. |
| | | if let textFieldView: UITextField = textFieldView as? UITextField { |
| | |
| | | |
| | | // Removing gesture recognizer (Enhancement ID: #14) |
| | | textFieldView.window?.removeGestureRecognizer(resignFirstResponderGesture) |
| | | |
| | | removeToolbarIfRequired() |
| | | do { |
| | | if let startingConfiguration = startingTextViewConfiguration, |
| | | startingConfiguration.hasChanged { |