Roi Mulia Roi Mulia - 4 months ago 6x
iOS Question

UISlider with single bar color

I cant believe i cant find answer online - this is what im trying to achieve- Single color for the UISlider bar(no matter where the thumb is)

Dont mind the BG color


, but all i can change is one size of the bar(Tint color i guess) :\


Any ideas how can i achieve single color all the way?



choice -1

yoursliderName.minimumTrackTintColor = [UIColor blueColor];
yoursliderName.maximumTrackTintColor = [UIColor blueColor];

if choice no 1 is not work

choice - 2

see this already answered in stack overflow answer

additional Reference