Instance Property

tintColor

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

Declaration

@property(nonatomic, strong) UIColor *tintColor;

Discussion

All subclasses of UIView derive their behavior for tintColor from the base class. See the discussion of tintColor at the UIView level for more information.

This property has no default effect for buttons with type UIButtonTypeCustom. For custom buttons, you must implement any behavior related to tintColor yourself.

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.

showsTouchWhenHighlighted

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

- 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.