I need to create UIButton above UIWebView in iOS SDK, when user press this button it simulates UIWebView a physical keyboard key pressed, in the best situation, arrow keys.
Related
I use UITextView in my app. It contains a text and some URL links in it. I recognize the tap (double tap in Voice Over) on that UITextView and perform some action (overwriting default edit action).
When using the app in regular mode (Voice Over - off) the links are detectable and working (after a long tap on them).
When using the app in voiceOver mode the app does not detect URL links in that text view and does not enable activation of them.
I have an external scanner which basically emulates key strokes if the keyboard is active. I tested and whenever the textfield focus is on, it emulates the key strokes. But i don't want to show the keyboard to user.
Can i get the key strokes without showing the keyboard to user? or is it possible to have an off screen keyboard active all time throughout the application?
What i am trying to do is:
Add one button (Microphone image) in toolbar.
On click of that button, the iOS default voice dictation should get call.
Query: I assume that we can not call default voice dictation but want to confirm.
Is their any workaround or any approach to call voice dictation on click of button in toolbar?
(The query is that dictation button (Mic) get display in keyboard
(for textfield & textview)& on click of that button(Mic) dictation
functionality comes to play, can we add similar button (like Mic) to
toolbar (for textfield & textview) & on click of button dictation
functionality should comes to play.)
Thanks
Dictation is only possible in a text field, and can thus only be started from the keyboard (afaik). It is also not supported for all languages, so it depends on what keyboard is active.
Those buttons are usually seen in chat apps, where they record an audio clip without translating it to text.
Is there anyway to programmatically press a button on the default keyboard for iOS?
For example, after something happens in my app, the keyboard will be visible. I need the program to automatically press or invoke the default action that the space bar would normally do on the keyboard, or the same thing to invoke the Microphone feature of the keyboard.
Is any of this possible?
I'm creating a game where the players can use various controllers and keyboards to play. This game is for desktop and it's not used to be played on an internet browser.
Issue: Currently, I am able to detect the key pressed from all the keyboards connected, but there is no way to detect which keyboard pressed it. So in the end result, even if there are several keyboards connected, no one can use the same buttons since pressing a key on a keyboard is like pressing this key on every keyboard.
Looking for: A way to get an ID from the USB device connected that pressed the key so I can track which keyboard is pressing a button or any other way that is able to find out which keyboard has pressed a key.