开发者

How to customize the UIKeyboard in my app?

开发者 https://www.devze.com 2023-03-01 00:26 出处:网络
I want to change the Return button to Go b开发者_StackOverflow社区utton. Any suggestions?? Thanks, *yourtextfieldname*.returnKeyType=UIReturnKeyGo;

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

精彩评论

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

关注公众号