iXcoder
iXcoder

Reputation: 1564

iphone , how to change the systemwide volume?

all, I want play sound even the iPhone in mute mode, but the method : [AVAudioPlayer setVolume] does not effect if the device is in mute mode ...

is it possible have some way to change the systemwide volume ?

thanks for your help ...

Upvotes: 1

Views: 375

Answers (1)

drawnonward
drawnonward

Reputation: 53689

The recommended way to let the user set the system volume is with an MPVolumeView. The whole point of the mute button is that applications cannot play sounds, and there is no sanctioned way to override that.

Upvotes: 2

Related Questions