Contents

currentThumbImage

The thumb image currently being used to render the slider.

Declaration

var currentThumbImage: UIImage? { get }

Discussion

Sliders can have different thumb images for different control states. The active control state determines which thumb image is stored in this property. To get the thumb image for a different control state, use the thumbImage(for:) method.

If no custom thumb images have been set using the setThumbImage(_:for:) method, this property is nil. In that situation, the slider uses the default thumb image for drawing.

See Also

Changing the slider’s appearance