Contents

setScopeBarButtonBackgroundImage(_:for:)

Sets the background image for the scope bar button in a given state.

Declaration

func setScopeBarButtonBackgroundImage(_ backgroundImage: UIImage?, for state: UIControl.State)

Parameters

  • backgroundImage:

    The background image for the scope bar button in state.

  • state:

    A control state.

Discussion

For more details, see scopeBarButtonBackgroundImage(for:).

See Also

Customizing the scope bar appearance