Instance Method

setThumbImage:forState:

Assigns a thumb image to the specified control states.

Declaration

- (void)setThumbImage:(UIImage *)image forState:(UIControlState)state;

Parameters

image

The thumb image to associate with the specified states.

state

The control state with which to associate the image.

Discussion

When you specify a custom thumb image, the slider ignores the custom thumb tint color, if any.

See Also

Changing the Slider’s Appearance

minimumValueImage

The image representing the slider’s minimum value.

maximumValueImage

The image representing the slider’s maximum value.

minimumTrackTintColor

The color used to tint the default minimum track images.

currentMinimumTrackImage

The minimum track image currently being used to render the slider.

- minimumTrackImageForState:

Returns the minimum track image associated with the specified control state.

- setMinimumTrackImage:forState:

Assigns a minimum track image to the specified control states.

maximumTrackTintColor

The color used to tint the default maximum track images.

currentMaximumTrackImage

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

- maximumTrackImageForState:

Returns the maximum track image associated with the specified control state.

- setMaximumTrackImage:forState:

Assigns a maximum track image to the specified control states.

thumbTintColor

The color used to tint the default thumb images.

currentThumbImage

The thumb image currently being used to render the slider.

- thumbImageForState:

Returns the thumb image associated with the specified control state.