UITextField return button name

I wanted to change the name of the back button button as I am not developing an application in English. I have UIAlertController

and added textField ( .addTextFieldWithConfigurationHandler { (textField) -> Void in <someCode> }

). How do I change the title of a back button button in Swift? In fact, there should be no difference with the usual UITextField

. Thanks for any help:]

+3


source to share


1 answer


You cannot set custom text for the return key in iOS. There are a number of parameters , but they are the only ones.



If you are only concerned about translation, the keys will be automatically translated based on the language configured on the user's device. Otherwise, you'll have to create a fully custom keyboard (which is almost certainly not worth the effort).

+3


source







All Articles