I have a textfield with the keyboardType assigned as default and the return key assigned as search. When I tap inside the textfield this keyboard is shown.
I need to hide or manage the OK button to make the same thing as return button (“Buscar” aka Search in english). Now it only closes the keyboard. I’m using on a screen that is white except for the searchfield and the return button navigates to another screen but if the keyboard is closed the user can believe that the app is broke or something
Can it be done?
func textFieldShouldReturn(_ textField: UITextField) -> Bool {
search(text: textField.text)
return true
}
This is what the buscar button do (return key). I want the OK button to be hidden or to make the same as the return key
10
This seems to be related to IQKeyboardManager dependency. Another dev is not seeing this keyboard button or toolbar