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
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.
When you are typing in iOS 11, you can swipe down on the upper row of letters to add numbers.
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
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