tvOS doesn't respect UIKeyInput
| Originator: | leolobato | ||
| Number: | rdar://27389949 | Date Originated: | 16/06/2016 |
| Status: | Open | Resolved: | |
| Product: | tvOS SDK | Product Version: | 9.2.1 |
| Classification: | Other Bug | Reproducible: | Always |
27389949 # Title tvOS doesn't respect UIKeyInput # Description Custom UIView classes which implement UIKeyInput do not take input from a bluetooth keyboard or show the on-screen keyboard. # Steps to Reproduce 1. Implement a UIView class which conforms to UIKeyInput 2. Make that view instance first responder 3. View is first responder, but will not take any key pressed from a connected bluetooth keyboard and the on-screen keyboard will not be visible. # Expected Results UIKeyInput method -insertText: to be called on keypresses. # Actual Results Nothing happens. Keypresses on a bluetooth keyboard are ignored and the on-screen keyboard is never visible. # Additional Notes Attached a project which takes keypresses from a bluetooth keyboard on iOS but does not on tvOS. Run the InputTest target on iOS with a keyboard attached and start typing. the "TestView" (which implements UIKeyInput) will change color as you type. Building the InputTestTV target for tvOS, nothing happens when you press a key on the keyboard (even thought the view *is* the first responder).
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!