views:

83

answers:

1

Hi

I created a UITextField in code, now I have now idea how to define the keybaord that should appear ? I just get the standard keybboard, but I need a numberpad ?!

Thanks

+2  A: 

You need to set the keyboardType property to UIKeyboardTypeNumberPad.

Giao