开发者

Custom iPhone return key text

开发者_Go百科Is it possible to set custom return key type for UITextField?

[txtField setReturnKeyType:UIReturnKeyDefault];

I want to have the word "SHARE" in place of the return key type.

Thanks


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.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜