Reputation: 25
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?
Thanks in advance.
Upvotes: 0
Views: 9407
Reputation: 11145
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?
Upvotes: 1