Swift 4 show on screen keyboard when bluetooth device attached - swift

I have searched a lot on the internet about this issue, when i connect my bluetooth device to my iPad it hides the on screen keyboard, and by clicking on the textfield the on screen keyboard will not show.
Has anybody managed to show the on screen keyboard while the bluetooth device is connected? In my case it is really important to use the on screen keyboard, while having the bluetooth device connected.

Related

Show UITextView.inputView when connected to Bluetooth Keyboard

I have a application where i need to provide the support for bluetooth keyboard as well as normal keyboard for UITextView.
I have a inputView designed for the UITextView. It works properly and shows images when the bluetooth keyboard is not connected. How to show UITextView.inputView when connected to bluetooth keyboard ?
Thanks in advance.

How to hide the on screen keyboard when external keyboard is connected iPhone compatibility mode on ipad

I have an iPhone app thats runs on the iPad under compatibility mode. I have a user that uses an external keyboard with his iPad. is there a way I can detect that keyboard and not display the on-screen keyboard

accessing/handling bluetooth wireless keboard input(key press) in my ipad application

i have already done much googling on this neither i found a tutorial/way to accomplish this nor find that it could not be acheived(so that i can assist my client ,it's not possible)
we have requirement to integrate a bluetooth wireless keyboard in our existing ipad application.
some of the scenarios are....
suppose you are having a uibutton on the view.
then according to the requirement if user tap the key "entr/return" on the wireless keyboard
the result is same as tapping the button on view.if user tap the key "i" on the wireless keyboard the result is same as tapping the information button (UIButtonTypeInfoDark) on view.
Means we have to handl wireless keyboard key press events.
any idea/link/tutorial would very helpful for this situation.
thanks!

Force on screen keyboard to show when bluetooth keyboard connected

I have to have a bluetooth scanner connected to an app I am developing. The scanner acts as a keyboard input but there are no keys, only a button to scan with. The problem I am running into is there are a few UITextFields that a user needs to interact with on the screen.
When the user taps the textfield to enter in data, no keyboard pops up because the iOS thinks there is a full keyboard attached via bluetooth.
How can I force the screen keyboard to show up when the UITextField "becomes first responder" ?
Thanks in advance!
The problem is that the Bluetooth scanner is pretending to be a Bluetooth keyboard, so iOS thinks that it doesn't need to show the onscreen one.
Unfortunately there's no easy answer for this. Some scanners have a button you can press that will force the onscreen keyboard to come up. Some allow you to pair in "iPhone mode" (or something similar) so that it doesn't act as a Bluetooth keyboard.
This answer to a related question (https://stackoverflow.com/a/3837131/493988) has what seems like a hack based on a UITextField's inputAccessoryView, but I haven't personally verified it so I can't say much about it. Good luck!
Have you tried [myTextField becomeFirstResponder];?

iOS Bluetooth Keyboard Detection at Runtime

Is there any way in iOS SDK to detect the presence of an active Bluetooth keyboard? As many well know, when a Bluetooth keyboard is active, the on-screen keyboard does not show, so interface placements might have to change...
Right now I am doing this semi-passively by responding to keyboard events, but those notifications are a little slow to post and don't jive perfectly with my animation code. It would be nice to just have a BOOL somewhere to read on...