自定义iPhone返回键文本 [英] Custom iPhone return key text
本文介绍了自定义iPhone返回键文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以为 UITextField
?
[txtField setReturnKeyType:UIReturnKeyDefault];
我想用SHARE代替返回键类型。
I want to have the word "SHARE" in place of the return key type.
感谢
推荐答案
您将获得在操作系统中定义的返回键和键盘类型。除非你想尝试破解键盘的视图层次来改变那个按钮,这将是一个非常糟糕的计划。 (这里的标准建议是向苹果提交一个错误报告,让他们知道你想要更多/不同的选项。)
Nope. You get the return key and keyboard types defined in the OS. Unless you want to try to hack the keyboard's view hierarchy to change that button, which would be a really bad plan. (Standard recommendation here is to file a bug report with Apple to let them know you'd like more/different options.)
这篇关于自定义iPhone返回键文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文