MPMusicPlayerController volume increase and decreasing dynamically
I am implementing a musci application in that I need to support playing of 2开发者_StackOverflow audio files at a time. I did it one with MPMusciplayer controller and another one with AVAudioPlayer as per my requirements I need to support 2 different volume levels for both players at a time when they both playing. Is this possible?
Can you guys please help one this?
Thanks in advance Chandra
Use Slider View and Give that slider value to this code will help you.
[[MPMusicPlayerController applicationMusicPlayer] setVolume:slider.value];
精彩评论