How would you detect if the user presses the volume hardware buttons and prevent default behaviour?
Thanks a lot.
Look at AVSystemController_SystemVolumeDidChangeNotification (or alternatively here)
AVSystemController_SystemVolumeDidChangeNotification