iOS Adding a custom thumb image


Example

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()
let thumbImage = UIImage
slider.setThumbImage(thumbImage, for: .normal)