dan
dan

Reputation: 1077

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

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

Thanks a lot.

Upvotes: 5

Views: 7603

Answers (1)

Matt S.
Matt S.

Reputation: 13753

Look at AVSystemController_SystemVolumeDidChangeNotification (or alternatively here)

Upvotes: 10

Related Questions