Instance Method

setRouteButtonImage:forState:

Assigns a button image to the specified control states.

Declaration

- (void)setRouteButtonImage:(UIImage *)image forState:(UIControlState)state;

Parameters

image

The image to associate with the specified states.

state

The control state with which to associate the image.

Discussion

Use this to customize the appearance of the route button when it is enabled, disabled, highlighted, and so on.

See Also

Customizing the Route Button

- routeButtonImageForState:

Returns the button image associated with the specified control state.

Deprecated
- routeButtonRectForBounds:

Returns the drawing rectangle for the route button.

Deprecated