开发者

Can an iPad/iPhone app intercept media keys from a keyboard?

开发者 https://www.devze.com 2023-01-24 17:34 出处:网络
Is it possible for an iPad/iPhone app to intercept the play/pause/rwd/fwd keys on开发者_如何学C a connected keyboard? I\'ve heard that it can but cannot find a reference to it.I believe external keybo

Is it possible for an iPad/iPhone app to intercept the play/pause/rwd/fwd keys on开发者_如何学C a connected keyboard? I've heard that it can but cannot find a reference to it.


I believe external keyboard media keys work through the same API as the controls in the multitasking UI and on the mic/headset cord. Events from those come in as UIEvent remote control events.

0

精彩评论

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