dividerImage(forLeftSegmentState:rightSegmentState:barMetrics:)
Returns the divider image used for a given combination of left and right segment states and bar metrics.
Declaration
func dividerImage(forLeftSegmentState leftState: UIControl.State, rightSegmentState rightState: UIControl.State, barMetrics: UIBarMetrics) -> UIImage?Parameters
- leftState:
The state of the left segment.
- rightState:
The state of the right segment.
- barMetrics:
Bar metrics.
Return Value
The divider image used for the given combination of left and right segment states and bar metrics
See Also
Customizing appearance
selectedSegmentTintColorbackgroundImage(for:barMetrics:)setBackgroundImage(_:for:barMetrics:)contentPositionAdjustment(forSegmentType:barMetrics:)setContentPositionAdjustment(_:forSegmentType:barMetrics:)UISegmentedControl.SegmentsetDividerImage(_:forLeftSegmentState:rightSegmentState:barMetrics:)titleTextAttributes(for:)setTitleTextAttributes(_:for:)