UIKeyInput not available on iPad?

98 Views Asked by At

I have implemented the UIKeyInput protocol method - (void)deleteBackward but when the code is running on an iPad and I press the delete button on the keyboard it does not execute the method.

Is this protocol disabled on ipad?

1

There are 1 best solutions below

0
Emma K Alexandra On

Just ran into this issue as well. Looks like iPad doesn't allow UIViews to simply implement UIKeyInput, you must implement UITextInput in order for a custom view to make the keyboard appear on iPad OS.