Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find keyplane that supports type 4 for keyboard iPhone-Portrait-NumberPad

Tags:

I recently upgraded to Xcode 7 and today I noticed this warning in the log when I tapped a text field and the keyboard popped up:

Can't find keyplane that supports type 4 for keyboard iPhone-Portrait-NumberPad; using 563160167_Portrait_iPhone-Simple-Pad_Default

I have a UITextField that I set up in Interface Builder and configured it (also in IB) to display a number pad keyboard. I also noticed that for a normal type of keyboard this message does not appear.

I searched for a solution but none of what I found worked so far.

The simulator settings under Simulator -> Hardware -> Keyboard are:

Checked for Uses same layout as OS X
Unchecked for the other two.

Any ideas?

like image 414
Alex Craciun Avatar asked Sep 18 '15 08:09

Alex Craciun


1 Answers

Your iOS App can't find a Numeric Keypad attached to your OS X. So you just need to Uncheck connect Hardware Keyboard option in your Simulator, in the following path just for testing purpose:

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

This will resolve the above issue.

I think you should see the following link too. It says it's a bug in the XCode at the end of that Forum post thread!

Hint:
And also I think this is a point where you need to give a Soft-keyboard Close button just above the Number Keypad.

like image 188
Randika Vishman Avatar answered Oct 07 '22 03:10

Randika Vishman