如何显示只有数字和典型数学符号的键盘:括号,运算符(+,*,/,-,^)
等。我正在寻找与iOS上的标准键盘具有相同外观和感觉的东西。 ,可以移动,取消停靠和拆分。我可以使用UIView中的按钮,但它与普通键盘的感觉不一样。
答案 0 :(得分:0)
The type of keyboard to display for a given text-based view.
typedef enum {
UIKeyboardTypeDefault,
UIKeyboardTypeASCIICapable,
UIKeyboardTypeNumbersAndPunctuation,
UIKeyboardTypeURL,
UIKeyboardTypeNumberPad,
UIKeyboardTypePhonePad,
UIKeyboardTypeNamePhonePad,
UIKeyboardTypeEmailAddress,
UIKeyboardTypeDecimalPad,
UIKeyboardTypeTwitter,
UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable
} UIKeyboardType;
根据您的要求进行设置。