1

i know this is a designed part of the ipad to close the keyboard when the hardware keyboard is connected (which make sense). I understand but since ipadOS 15, the virtual keyboard will hide everytime a key is pressed on the hardware keyboard. This was not the case before, you could open it back and use it. We have a prediction keyboard extension which help childrens suffering dyslexia to write. I can't seem to find any documentation on this but is there a private API or something to prevent a virtual keyboard from closing inside a keyboard extension. I can see 'Grammarly' app doing it so it is possible.

So far i can detect if a hardware keyboard is connected using the GameController SDK :

let isKeyboardConnected = GCKeyboard.coalesced != nil

This is not working too inside a keyboard extension

public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
     return false
}

I need to see my virtual keyboard at the same time as typing with the hardware keyboard in order to see the prediction view.

Thanks

hugo411
  • 320
  • 1
  • 12
  • 29

0 Answers0