is there a function or a method that i can use to control the volume level of the iPhone? i've been searching a while for this king of method through couple of questions but u didn't find a solution.
Asked
Active
Viewed 487 times
0
-
See this post http://stackoverflow.com/questions/3268949/adjusting-the-volume-of-a-playing-avplayer – Sandeep Aug 25 '13 at 22:59
1 Answers
0
- (void)volumeChange
{
[[MPMusicPlayerController applicationMusicPlayer] setVolume:volumeSlider.value];
NSLog(@"%f===%f",volumeSlider.value,
[MPMusicPlayerController applicationMusicPlayer].volume);
}

user1122949
- 165
- 4