0

How can you display a keyboard that has only digits and typical mathematical signs: parenthesis, operators (+,*,/,-,^), etc.. I'm looking for something with the same look and feel as the standard keyboard on iOS, that can be moved, undocked, and split. I could probably use buttons in a UIView but it wouldn't feel the same as the usual keyboard.

alecail
  • 3,993
  • 4
  • 33
  • 52

1 Answers1

0

UIKeyboardType

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;

Set it as per your requirement.

Community
  • 1
  • 1
iPatel
  • 46,010
  • 16
  • 115
  • 137