When I customized UISlider and override the minimumTrackTintColor
, maximumTrackTintColor
, and trackHeight
, I noticed the slider had a strange offset when the value approaches the end of the slider.
However, there is no offset when slider is in the middle range. Any idea how to fix it?
Offset when approaching the end:
Normal in the middle range: