开发者

iOS: how to respond to up/down/left/right arrow event from physical keyboard?

开发者 https://www.devze.com 2023-04-06 04:10 出处:网络
By physical keyboard I mean the bluetooth wireless keyboard connecting to the iOS device, or the iPad keyboard开发者_JS百科 Dock.To my knowledge there is no officially sanctioned way to do this.The be

By physical keyboard I mean the bluetooth wireless keyboard connecting to the iOS device, or the iPad keyboard开发者_JS百科 Dock.


To my knowledge there is no officially sanctioned way to do this. The best you can do is override -[UIApplication sendEvent:] and take a look at the events coming through.

0

精彩评论

暂无评论...
验证码 换一张
取 消