开发者

Custom iPhone return key text

开发者 https://www.devze.com 2022-12-09 16:08 出处:网络
开发者_Go百科Is it possible to set custom return key type for UITextField? [txtField setReturnKeyType:UIReturnKeyDefault];

开发者_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

精彩评论

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