IOS 快速查看系统键盘样式
来源:互联网 发布:怎么卸载还原软件 编辑:程序博客网 时间:2024/05/29 12:07
typedef NS_ENUM(NSInteger, UIKeyboardType) { UIKeyboardTypeDefault, // Default type for the current input method. UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters UIKeyboardTypeNumbersAndPunctuation, // Numbers and assorted punctuation. UIKeyboardTypeURL, // A type optimized for URL entry (shows . / .com prominently). UIKeyboardTypeNumberPad, // A number pad with locale-appropriate digits (0-9, ۰-۹, ०-९, etc.). Suitable for PIN entry. UIKeyboardTypePhonePad, // A phone pad (1-9, *, 0, #, with letters under the numbers). UIKeyboardTypeNamePhonePad, // A type optimized for entering a person's name or phone number. UIKeyboardTypeEmailAddress, // A type optimized for multiple email address entry (shows space @ . prominently). UIKeyboardTypeDecimalPad NS_ENUM_AVAILABLE_IOS(4_1), // A number pad with a decimal point. UIKeyboardTypeTwitter NS_ENUM_AVAILABLE_IOS(5_0), // A type optimized for twitter text entry (easy access to @ #) UIKeyboardTypeWebSearch NS_ENUM_AVAILABLE_IOS(7_0), // A default keyboard type with URL-oriented addition (shows space . prominently). UIKeyboardTypeASCIICapableNumberPad NS_ENUM_AVAILABLE_IOS(10_0), // A number pad (0-9) that will always be ASCII digits. UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable, // Deprecated};
- 新增了第1个Default键盘和第4个URL键盘
- 删除了Alphabet键盘,替换为Default键盘
1、UIKeyboardTypeDefault
常用于文本输入
2、UIKeyboardTypeASCIICapable
常用于密码输入
3、UIKeyboardTypeNumbersAndPunctuation
主键盘显示如上图,次键盘显示字母
4、UIKeyboardTypeURL
适用于网址输入
5、UIKeyboardTypeNumberPad
只有数字的数字键盘
6、UIKeyboardTypePhonePad
可用于拨号的数字键盘
7、UIKeyboardTypeNamePhonePad
主键盘显示如上图,次键盘显示如下图
8、UIKeyboardTypeEmailAddress
适用于邮件地址输入的键盘
9、UIKeyboardTypeDecimalPad
带“点”的数字键盘,可用于带有小数点的数字输入
10、UIKeyboardTypeTwitter
11、UIKeyboardTypeWebSearch
适用于网页搜索的键盘
阅读全文
0 0
- IOS 快速查看系统键盘样式
- iOS系统键盘样式
- iOS中键盘样式设置、隐藏系统键盘的方法
- iOS 键盘样式UIKeyboardType
- iOS开发之键盘样式
- 快速查看系统环境变量
- 键盘样式风格有关设置-iOS开发
- 键盘样式风格有关设置-iOS开发
- 键盘样式风格有关设置-iOS开发
- iOS开发---键盘样式风格有关设置
- iOS开发-键盘样式风格有关设置
- ios开发之键盘样式风格设置
- iOS开发-键盘样式风格有关设置
- iOS开发-键盘样式风格有关设置
- IOS开发-键盘样式风格设置
- 关于IOS键盘样式(给新手)
- iOS文本框样式,键盘样式,清除按钮设置,左右视图
- iOS 系统 键盘的通知
- Android开发 关于避免切换主题时免闪屏的几种方式
- Sequelize 和 MySQL 对照
- 初学Python(一)
- android应用中去掉标题栏-修正版
- 简单明了的JAVA生成32位UUID
- IOS 快速查看系统键盘样式
- npm install 时总是报phantomjs-prebuilt@2.1.14安装失败
- BZOJ 1053 浅谈正统素数的侧面反素数A.N.T.
- Qt笔记-qml-button
- Failed to load JavaHL Library.(SVN)解决办法
- 设计模式_17:单例模式
- XListView下拉刷新带时间
- 还是端口回流问题 TCP协议解析
- 从JVM中dump出动态代理生成的class