开发者

UIKeyboard - turn off caps lock key

I开发者_如何学编程n my iPhone application, I want to turn off the caps lock key when my uikeyboard is shown.

Is it possible to do so?


Any UI control that conforms to the UITextInputTraitsProtocol has a property called autocapitalizationType. Setting this to autocapitalizationTypeNone, either in code or via Interface Builder, will prevent the caps lock key being active when the keyboard for that element is shown.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜