开发者

Detect when volume button is pressed

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜