Contents

setRouteButtonImage(_:for:)

Assigns a button image to the specified control states.

Declaration

func setRouteButtonImage(_ image: UIImage?, for state: UIControl.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 for various states such as enabled, disabled, and highlighted.

See Also

Deprecated