Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Number keyboard in iPad?

Is it possible to display keyboard consisting of only numbers from 0-9 in iPad?, i don't want the keyboard to display anything else. I know there is this KeyboardType:Number Pad that we can in the .xib file, but it displays all other extra characters including numbers. I want to use this concept in displaying keyboard for PIN login for my iPad application that I'm working on. Thank you

like image 751
Sashi Avatar asked Dec 10 '14 19:12

Sashi


People also ask

How do I change the numbers on my iPad keyboard?

To type a numeral on your iPad, you typically have to tap the Numbers key (.? 123) to switch the keyboard to numbers. Then type the number. And then tap the Alphabet key (ABC) to switch back to the regular keyboard.

How do I type numbers on my Apple keyboard?

When you are typing in iOS 11, you can swipe down on the upper row of letters to add numbers.


1 Answers

You need to implement your own keyboard if you want this on iPad.

There are many examples out there:

https://github.com/azu/NumericKeypad

https://github.com/lnafziger/Numberpad

https://github.com/benzado/HSNumericField

like image 155
bjtitus Avatar answered Jan 04 '23 05:01

bjtitus