How would I get around this?
volumeSlider setValue:[musicPlayer volume]];
&
- (IBAction)volumeSliderChanged:(id)sender
{
[musicPlayer setVolume:volumeSlider.value];
}
Where 'volume
' and 'set volume
' is deprecated in iOS 7.0. I've read this answer and this answer, but I was wondering if there's a simpler way? My app works perfectly fine but I'm afraid this error will cause problems elsewhere.
All I need is for the user to drag the slider I have or use the hardware buttons to adjust the volume.
Thanks, any help would be much appreciated.