Reputation: 1077
How would you detect if the user presses the volume hardware buttons and prevent default behaviour?
Thanks a lot.
Upvotes: 5
Views: 7603
Reputation: 13753
Look at AVSystemController_SystemVolumeDidChangeNotification (or alternatively here)
AVSystemController_SystemVolumeDidChangeNotification
Upvotes: 10