How to customize the UIKeyboard in my app?
I want to change the Return button to Go b开发者_StackOverflow社区utton. Any suggestions??
Thanks,
*yourtextfieldname*.returnKeyType=UIReturnKeyGo;
UITextField and UITextView both follow the UITextInputTraits protocol, which defines a returnKeyType
property. Set that to UIReturnKeyGo
and you're good to, er, go.
精彩评论