iPhone SDK 4 - How to programmatically detect volume hardware button press?

后端 未结 1 1166
夕颜
夕颜 2021-01-13 08:21

How would you detect if the user presses the volume hardware buttons and prevent default behaviour?

Thanks a lot.

相关标签:
1条回答
  • 2021-01-13 09:09

    Look at AVSystemController_SystemVolumeDidChangeNotification (or alternatively here)

    0 讨论(0)
提交回复
热议问题