Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPad numeric keyboard

Tags:

keyboard

ipad

I've been trying to get a numeric keypad on the iPad, but when I set a numeric pad on a TextField, I get a normal keyboard with numbers and ponctuation. But I found out several bugs on the simulator, I don't really know if this is another.

Is there a standard keypad on the iPad?

like image 259
Tiago Fael Matos Avatar asked Apr 12 '10 21:04

Tiago Fael Matos


People also ask

How do I get the numeric keypad on my iPad?

To quickly enter a number or symbol on an iPad, drag down on a key and then lift your finger, or switch to the numeric keyboard on iPhone.

How do I get the Numberpad on my iPhone keyboard?

You can use the formula keyboard to add functions, numbers and symbols to formulas. If a keyboard isn't already visible, tap the Show Keyboard button , then tap the Formula Keyboard button to start editing a formula.

Does Magic keyboard with numeric keypad work with iPad?

You can use Magic Keyboard, including Magic Keyboard with Numeric Keypad, to enter text on iPad. Magic Keyboard connects to iPad using Bluetooth.


1 Answers

The iPad's "number' keyboard is exactly what you're seeing. There is no "iPhone identical" number only pad. I've worked around this by just using UIButtons and custom code in my app, Nippon. I've also created a background foe the button. It's sized for a modal view controller with the UIModalPresentationFormSheet style.

Here are the images, in case you want to use them:

Wide Key for iPadWide Pressed Key for iPad

As for code, you force the UITextField to hide the keyboard and then you manually update the value when the button is pressed.

like image 185
Moshe Avatar answered Sep 29 '22 11:09

Moshe