Instance Method

backgroundImageForState:

Returns the background image associated with the specified control state.

Declaration

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

Parameters

state

The control state in which the image is displayed.

Return Value

The background image used by the control when it is in the specified state.

See Also

Customizing Appearance

- setBackgroundImage:forState:

Sets the background image for the control when it is in the specified state.

- decrementImageForState:

Returns the image used for the decrement glyph of the control.

- setDecrementImage:forState:

Sets the image to use for the decrement glyph of the control.

- dividerImageForLeftSegmentState:rightSegmentState:

Returns the divider image for the given combination of left and right states.

- setDividerImage:forLeftSegmentState:rightSegmentState:

Sets the image to use for the given combination of left and right states.

- incrementImageForState:

Returns the image used for the increment glyph of the control.

- setIncrementImage:forState:

Sets the image to use for the increment glyph of the control