Keep UIInputViewController visible while hardware keyboard is connected - ios

I have a custom keyboard extension that provides special symbols that can’t be typed with a hardware keyboard, similar to the emoji keyboard. iOS automatically dismisses third-party keyboards when a hardware keyboard is connected (but it doesn’t for the emoji keyboard), which is undesirable for my keyboard (and others such as GIF and sticker keyboards).
My question is how do you keep your custom keyboard visible when a hardware keyboard is connected?
SwiftKey was able to do this (see here) but how?

Related

React Native KeyboardAvoidingView on IOS without predictive text causes errors when changing keyboards

When I disable predictive text on an IOS device keyboardAvoidingView no longer works when changing between the text keyboard and the emoji keyboard.
When you first focus on the textInput the keyboardAvoidingView works as expected, however if you then select the emoji keyboard option the keyboard avoiding view drops and the keyboard is covering the textInput.
Note this is only an issue on Apple devices when predictive text has been turned off in the settings.
Any suggestions on how to work around this would be great please.

How to detect programmatically which keyboard user has set in his iPhone?

I want to know which keyboard type is set by a user in his iPhone if there are some custom keyboards installed.

Prevent resignFirstResponder (losing focus) in UITextField when user hides UIKeyboard

I need the focus to stay in my UITextfield when the UIKeyboard is hidden.
I have a bluetooth scanner attached to the device and it needs to scan into the UITextField regardless of the UIKeyboard being on screen or not.
This has worked flawlessly for 5 years until recent iOS updates.

Keyboard Extension not used in iPhone Search?

I have built a keyboard extension and it works as expected in most apps. However, it is not one of the keyboards rotated in iPhone Search bar:
Only the system keyboards are there. How can I enable my keyboard extension for the Search bar?

IOS simulator UITextField without Chinese keyboard

As the title description, even i added Chinese keyboard, there's no Chinese keyboard in my app. But the system has Chinese keyboard.
See below:
This is a known issue. Answer is here: Can't see custom keyboard in Safari of iOS8.1 simulator
and here is the workaround (near the bottom): iOS8.1 Simulator always uses US keyboard layout despite german hardware keyboard

Resources