Contents

currentMaximumTrackImage

Contains the maximum track image currently being used to render the slider.

Declaration

var currentMaximumTrackImage: UIImage? { get }

Discussion

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

If no custom track images have been set using the setMaximumTrackImage(_:for:) method, this property contains the value nil. In that situation, the slider uses the default maximum track image for drawing.

See Also

Changing the slider’s appearance