更改键盘中完成按钮的文本 [英] Changing text of done button in keyboard
问题描述
我知道有关于这个主题的问题但是我认为可以更改键盘的完成按钮的文本,因为我使用的许多应用程序都是法语,完成按钮的文本是accéder 。
I know there is a question about this subject already but I think it's possible to change the text of the done button of a keyboard, because many of the apps I use are in french and the text of the done button is "accéder".
但我不知道怎么做?
推荐答案
您不能将其设置为任意文本,但您可以通过在任何文本字段或视图用于编辑时设置 returnKeyType
来使其成为固定字。 UIReturnKeyType
的可能值在此处:
You can't set it to arbitrary text, but you can make it a canned word by setting the returnKeyType
on whatever text field or view is being used for editing. Possible values of UIReturnKeyType
are here:
这些通常是本地化的但应用程序。如果您的应用支持fr本地化,并且设备设置为法语,您应该获得键盘键的本地化版本。
These are generally localized with the app, though. If your app supports an "fr" localization, and the device is set to French, you should get the localized versions of the keyboard keys.
这篇关于更改键盘中完成按钮的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!