How do I remove the glow/shadow from this UISlider?
It turns out, all I needed to do was set a custom thumb image and the shadow doesn't exist.
I do this in the didSet
of the UISlider
(Swift 3):
@IBOutlet weak var slider: UISlider!{
didSet{
slider.setThumbImage(<image when not touched>, for: .normal)
slider.setThumbImage(<image when touched>, for: .highlighted)
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With