Instance Property

showsTouchWhenHighlighted

A Boolean value that determines whether tapping the button causes it to glow.

Declaration

@property(nonatomic) BOOL showsTouchWhenHighlighted;

Discussion

If YES, the button glows when tapped; otherwise, it does not. The image and button behavior is not changed by the glow. The default value is NO.

See Also

Configuring Button Presentation

adjustsImageWhenHighlighted

A Boolean value that determines whether the image changes when the button is highlighted.

adjustsImageWhenDisabled

A Boolean value that determines whether the image changes when the button is disabled.

- backgroundImageForState:

Returns the background image used for a button state.

- imageForState:

Returns the image used for a button state.

- setBackgroundImage:forState:

Sets the background image to use for the specified button state.

- setImage:forState:

Sets the image to use for the specified state.

tintColor

The tint color to apply to the button title and image.