2

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?

Mani Kandan
  • 629
  • 4
  • 12
  • in which language u try add language tag also – Anbu.Karthik Jul 21 '16 at 04:14
  • What do you mean by external scanner? How does it emulate the key strokes? Do you just mean a hardware keyboard connected via Bluetooth? – caughtinflux Jul 21 '16 at 04:56
  • If it emulates a hardware keyboard then iOS will hide the on-screen keyboard by default – Paulw11 Jul 21 '16 at 05:00
  • If there is no on-screen keyboard present, then its not triggering the key strokes. – Mani Kandan Jul 21 '16 at 05:29
  • Have you made a text field the first responder? Once a text field is the responder then it will receive keystrokes. If a hardware keyboard is connected then iOS will not display a keyboard – Paulw11 Jul 21 '16 at 06:39

0 Answers0