I'm customizing a UISlider. I could set a custom thumb image that is higher than the usual thumb however I could not make the track higher when setting a higher minimum track image but the track height remained the same. It should be possible as in the iPod/Music App on the iPad the volume slider is also higher as the usual slider as you can see here:
UISlider
(source: cocoia.com)
You need to subclass the slider and override the trackRectForBounds: method, like this:
trackRectForBounds:
- (CGRect)trackRectForBounds:(CGRect)bounds { return bounds; }
2.1m questions
2.1m answers
60 comments
57.0k users