I have to display a number pad as keyboard for a textfield (it can take only numerals) in case of ipad.setting keyboard type as UIKeyboardTypeNumberPad displays numeric keyboard but user can switch back to alphabets.Is there any keyboard for ipad that just displays numbers?
Go to Settings > General > Keyboard > Keyboards. Tap a language at the top of the screen, then select an alternative layout from the list.
How to get your split iPad keyboard back to normal. Tap a text field in an app to make the keyboard appear. Touch and hold the keyboard button in the lower-right corner of the keyboard. Slide your finger up to either Merge or Dock and Merge, then let go.
Use the input type "number"
<input type="number" />
or failing that use a validation pattern which only accepts numbers.
<input type="text" pattern="[0-9]*" />
Both of these should bring up the num pad on iPhones and bring up the iPad keyboard with the numbers exposed (amongst the other keys)
You would have to create your own keyboard to accomplish this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With