How is it possible to set the min max ranges of the UISlider programmatically?
For example (dummy code)
UISlider* slider = [[UISlider alloc] init];
slider.min = -3;
slider.max = 3;
EDIT:
So I have the following:
sl.minimumValue = 5;
NSLog(@"MIN VAL: %d", sl.minimumValue);
This doesn't work, I still get it logging the value 0. Is this because I have set values in interface builder?