.h file
IBOutlet UISlider *valume;
AVAudioPlayer * player;
-(IBAction)sliderValueChanged:(UISlider *)slider;
.m file
-(IBAction)sliderValueChanged:(UISlider *)slider{
}
how to set volume maximum and minimum using uislider
.h file
IBOutlet UISlider *valume;
AVAudioPlayer * player;
-(IBAction)sliderValueChanged:(UISlider *)slider;
.m file
-(IBAction)sliderValueChanged:(UISlider *)slider{
}
how to set volume maximum and minimum using uislider
or
-(IBAction)sliderValueChanged:(UISlider *)slider{
player.volume=slider.value;
}
its work for me :)
-(IBAction)sliderValueChanged:(UISlider *)slider{
player.volume=slider.value;
}