检测何时按下音量按钮 [英] Detect when volume button is pressed
本文介绍了检测何时按下音量按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经做了大量研究,我知道Apple不允许这样做,但是没有人有代码,或者有人可以指向我输入代码,该代码使我能够检测到用户何时按下iphone上的提高音量"或降低音量"按钮?
I've done lots of research and I know that Apple will not allow this but does anyone have code or can someone 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?
谢谢.
推荐答案
您可以做到-看看这些-
you can do it-- look at these --
iPhone SDK 4-如何进行编程检测音量是否按下硬件按钮?
这篇关于检测何时按下音量按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文