Question

Possible Duplicate:
UIKeyboardTypeNumberPad on iPad

I want to give users the option of only inputting numbers. The number pad for iPad pops up with other symbols etc. Is it possible to get the iPhone version of the number pad in an iPad app?

Was it helpful?

Solution

Unfortunately, this is not possible. You can only use the UIKeyboardTypeNumberPad to get the numbers on an iPad, and the letters and symbols are not locked out. If you really need this, I would recommend looking up tutorials about making custom keyboards and using NSMutableStrings. This way, you can create your own keyboard and experience, and still have the same number pad as the iPhone.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top