views:

1094

answers:

2

Hi can anybody tell me how to show a default numeric keypad on iPhone rather than a character keypad.

+3  A: 
[myTextField setKeyboardType:UIKeyboardTypeNumberPad];
Morion
Iirc, you can also do it in IB
Jeffrey Aylesworth
A: 

That's great thanks!

jcpennypincher