Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You would like to allow your users to specify a value within a range, using an easy-to-use and intuitive UI.
You’ve certainly seen sliders before. Figure 2-18 shows an example.
To create a slider, instantiate an object of type UISlider. Let’s dive right in and create a
slider and place it on our view controller’s view. We’ll start with
our view controller’s header file:
#import <UIKit/UIKit.h>
@interface Implementing_Range_Pickers_with_UISliderViewController
: UIViewController
@property (nonatomic, strong) UISlider *mySlider;
@end