带移位键的iPhone UIKeyboardTypeNamePhonePad [英] iPhone UIKeyboardTypeNamePhonePad with shift key

查看:46
本文介绍了带移位键的iPhone UIKeyboardTypeNamePhonePad的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用于用户名的UITextField,并将键盘类型设置为:

I have a UITextField for a username, and I set the keyboard type to:

uiUsername.keyboardType = UIKeyboardTypeNamePhonePad;

这样,我可以输入字母数字字符.但不幸的是 Shift 键已禁用.有没有一种方法可以使用这种键盘类型启用 Shift 键?

This way I can enter alphanumeric characters. But unfortunately the Shift key is disabled. Is there a way to enable the Shift key using this keyboard type?

我知道,我可以设置其他键盘类型并检查合法字符,但是这种键盘类型非常干净-仅缺少 Shift 键.

I know, I could set a different keyboard type and check for legal characters, but this keyboard type is very clean - only the Shift key is missing.

感谢提示.

推荐答案

简单地说,不,没有办法启用此键盘类型的切换.

Simply put, No, there is no way to enable the shift on this keyboard type.

这篇关于带移位键的iPhone UIKeyboardTypeNamePhonePad的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆