How to connect audio amplifier with sound of local notification sound?

I have an application in which I set up a notification to be shown at a specific time and date. Now I want to control the sound volume with a UISlider notification or an audio player. How to control notification sound in an application using UISlider ?

Thanks in advance...

+4
source share
1 answer
 -(IBAction)sliderValueChanged:(UISlider *)slider{ player.volume=slider.value; [audioPlayer setVolume:setPlayerVolume]; } 
0
source

All Articles