Contents

scopeBarButtonDividerImage(forLeftSegmentState:rightSegmentState:)

Returns the divider image to use for a given combination of left and right segment states.

Declaration

func scopeBarButtonDividerImage(forLeftSegmentState leftState: UIControl.State, rightSegmentState rightState: UIControl.State) -> UIImage?

Parameters

  • leftState:

    The state of the left segment for which to provide the divider image.

    The state may be Normal or Selected.

  • rightState:

    The state of the right segment for which to provide the divider image.

    The state may be Normal or Selected.

Return Value

The divider image to use for the combination of leftState and rightState.

Discussion

For more details, see setScopeBarButtonDividerImage(_:forLeftSegmentState:rightSegmentState:)

See Also

Customizing the scope bar appearance