Is there a way to set the AVAudioSession outputVolume?
self.audioSession = AVAudioSession.sharedInstance()
self.audioSession.setActive(true, error: n
I was able to change the main volume using the following on iOS 8
#import
[[MPMusicPlayerController applicationMusicPlayer] setVolume:0.0];
[[MPMusicPlayerController iPodMusicPlayer] setVolume:0.0];
for info, the code is called thru a Cordova pluggin. This effects the main volume (the device volume popup show the new volume when code is called)