开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜