Adding a custom thumb image

suggest change

To add a custom image for the thumb of the slider, simply call the setThumbImage method with your custom image:

Swift 3.1:

let slider = UISlider()
if let thumbImage = UIImage(named: "thumb") {
    slider.setThumbImage(thumbImage, for: .normal)
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents