Instance Method

thumbImageForState:

Returns the thumb image associated with the specified control state.

Declaration

- (UIImage *)thumbImageForState:(UIControlState)state;

Parameters

state

The control state whose thumb image you want to use. Specify a single control state value for this parameter.

Return Value

The thumb image associated with the specified state, or nil if an appropriate image could not be retrieved. This method might return nil if you specify multiple control states in the state parameter. For a description of track and thumb images, see Customizing the Slider’s Appearance.

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.

- setThumbImage:forState:

Assigns a thumb image to the specified control states.