开发者

Detect when volume button is pressed

开发者 https://www.devze.com 2023-03-10 16:32 出处:网络
I\'ve done lots of research and I know that Apple will not allow this but does anyone have code or can someone开发者_JAVA技巧 point me to code that enables me to detect when a user presses either the

I've done lots of research and I know that Apple will not allow this but does anyone have code or can someone开发者_JAVA技巧 point me to code that enables me to detect when a user presses either the up or down volume button on the iphone?

I need to be able to detect which one is pressed (up or down). I will not be submitting anything to apple that has this code. I am just wondering if possible?

Thanks in advance.


you can do it-- look at these --

program access to iPhone volume buttons

iPhone SDK 4 - How to programmatically detect volume hardware button press?

How to get audio volume level, and volume changed notifications on iOS?

0

精彩评论

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