Can't find keyplane that supports type 4 for keyboard

2.8k views Asked by At

I get this message in logs when the keyboard opens and after that not able to tap on any element on the screen. Neither textfield nor buttons are tappable. I'm using a simulator iPhone XS Max.

Can't find keyplane that supports type 4 for keyboard iPhone-PortraitTruffle-NumberPad; using 25901_PortraitTruffle_iPhone-Simple-Pad_Default

2

There are 2 answers

0
codingCartooningCPA On

I received this error when using the .keyboardType(.numberPad) modifier on a Textfield. When I substitute .numbersAndPunctuation for the fields keyboard type, this error does not appear anymore. While numbersAndPunctuation is a similar type to numberPad it may not be as limiting to the user as you intend. Consider that this is a non-crashing error.

0
mohamad eldimardash On

If you want to make silent the warning, toggle keyboard as described here:

[https://stackoverflow.com/questions/25842168/cant-find-keyplane-that-supports-type-4-for-keyboard-iphone-portrait-numberpad][1]

Quote:

If you simply press:

iOS Simulator -> Hardware -> Keyboard -> Connect Hardware Keyboard

So that the entry is UNchecked, then the software keyboard will be displayed once again.