wwdc20-10109

RSS for tag

Discuss WWDC20 Session 10109 - Support hardware keyboards in your app

Posts under wwdc20-10109 tag

2 results found
Sort by:
Post not yet marked as solved
277 Views

Conflict with UIKeyInput protocol

I would like to catch the key-in event with pressesBegan. But any normal text events does not reach pressesBegan. Instead, I get this message in the debugger screen : "Warning: insertText reached". I implemented UIKeyInput protocol at my UIViewController and seemed that I could catch the events via insertText. But not possible to handle key up/down events via this protocol. Is there any best practice to handle normal text key-in/out events?
Asked
by ioue.
Last updated
.