Firstly, never assume something is available, simply because it exists in an apple developed app. This is far from the truth. Sadly, they have held back a great many things.
To address your issue, try this (set slider min to 0 and max to 5 or whatever you want):
- (void)viewDidLoad
{
[super viewDidLoad];
[slider addTarget:self action:@selector(sliderChanged:) forControlEvents:UIControlEventValueChanged];
}
This should allow the slider to pop to 0,1,2,3,4, and 5. (don't forget to replace my variable names with your own)
Hope that helps, happy coding.
- (void)sliderChanged:(UISlider *)mySlider {
mySlider.value = round(mySlider.value);
self.valueLabel.text = [NSString stringWithFormat:@"%g", mySlider.value];
}