How I could show a UISliders value as a UILabels text?
//This is for getting the Int Value
- (IBAction)sliderValueChanged:(UISlider *)sender
{
yourtextlabel.text = [NSString stringWithFormat:@"%d", (int)yourslideroutletname.value];
NSLog(@"the selider value==%@",yourtextlabel.text);
}
//This is for getting the float Value
- (IBAction)sliderValueChanged:(UISlider *)sender
{
yourtextlabel.text = [NSString stringWithFormat:@"%f", yourslideroutletname.value];
NSLog(@"the selider value==%@",yourtextlabel.text);
}