Instance Method

titleShadowColorForState:

Returns the shadow color of the title used for a state.

Declaration

- (UIColor *)titleShadowColorForState:(UIControlState)state;

Parameters

state

The state that uses the title shadow color. The possible values are described in UIControlState.

Return Value

The color of the title’s shadow for the specified state.

See Also

Configuring the Button Title

titleLabel

A view that displays the value of the currentTitle property for a button.

- titleForState:

Returns the title associated with the specified state.

- setTitle:forState:

Sets the title to use for the specified state.

- attributedTitleForState:

Returns the styled title associated with the specified state.

- setAttributedTitle:forState:

Sets the styled title to use for the specified state.

- titleColorForState:

Returns the title color used for a state.

- setTitleColor:forState:

Sets the color of the title to use for the specified state.

- setTitleShadowColor:forState:

Sets the color of the title shadow to use for the specified state.

reversesTitleShadowWhenHighlighted

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