iOS有几种不同的键盘布局
1个回答
展开全部
typedef NS_ENUM(NSInteger, UIKeyboardType) {
UIKeyboardTypeDefault,
UIKeyboardTypeASCIICapable, 宏薯伏
UIKeyboardTypeNumbersAndPunctuation,
UIKeyboardTypeURL,
UIKeyboardTypeNumberPad,
UIKeyboardTypePhonePad,
UIKeyboardTypeNamePhonePad,
UIKeyboardTypeEmailAddress, 蔽携
UIKeyboardTypeDecimalPad NS_ENUM_AVAILABLE_IOS(4_1),
UIKeyboardTypeTwitter NS_ENUM_AVAILABLE_IOS(5_0),
UIKeyboardTypeWebSearch NS_ENUM_AVAILABLE_IOS(7_0),
UIKeyboardTypeASCIICapableNumberPad NS_ENUM_AVAILABLE_IOS(10_0)
UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable,
};
系统手纳列出来了13种类型,但是有些是重复的,建议根据实际需要挑选键盘。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询