Hi can anybody tell me how to show a default numeric keypad on iPhone rather than a character keypad.
Asked
Active
Viewed 4,061 times
1 Answers
11
[myTextField setKeyboardType:UIKeyboardTypeNumberPad];

Morion
- 10,495
- 1
- 24
- 33
-
1Iirc, you can also do it in IB – Jeffrey Aylesworth Dec 04 '09 at 12:59