I'm trying to make custom slider using
class MySlider: UISlider {
override func trackRect(forBounds bounds: CGRect) -> CGRect {
let customBounds = CGRect(origin: bounds.origin, size: CGSize(width: bounds.size.width, height: 5.0))
super.trackRect(forBounds: customBounds)
return customBounds
}
}
Updated thumb/max/min tint colour from storyboard
The problem is need to remove min and max space from both ends as shown in pics. How i can do that?
I was able to achieve this without subclassing:
Set Thumb Tint:
Default
through IB