Reputation: 38180
Is there a way to subclass just the knob for iOS slider (if yes, how: can you point to a tutorial) or does one has to create the whole slider from scratch ?
Upvotes: 0
Views: 3430
Reputation: 9093
Apple's documentation for UISlider indicates that the thumb is customizable. You need to set the currentThumbImage property and override - (CGRect)thumbRectForBounds:(CGRect)bounds trackRect:(CGRect)rect value:(float)value
in a UISlider subclass.
Upvotes: 5