Contents

setDividerImage(_:forLeftSegmentState:rightSegmentState:)

Sets the image to use for the given combination of left and right states.

Declaration

func setDividerImage(_ image: UIImage?, forLeftSegmentState leftState: UIControl.State, rightSegmentState rightState: UIControl.State)

Parameters

  • image:

    The divider image to use.

  • leftState:

    The state of the left side of the control.

  • rightState:

    The state of the right side of the control.

See Also

Customizing appearance