I would like to know how to set UISlider to a number in the UILabel.
What i've tried:
size = UISlider
sizetxt = UILabel
[size setValue:[NSString stringWithFormat:@"%@", sizetxt]];
All I get is a failed build saying:
Sending 'NSString *' to parameter to incompatible type 'float'
Any help would be appriceated.
Convert it to float:
[size setValue:[sizeTxt floatValue]];