setBackgroundVerticalPositionAdjustment(_:for:)
Sets the background vertical position offset for specified bar metrics.
Declaration
func setBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, for barMetrics: UIBarMetrics)Parameters
- adjustment:
The background vertical position offset for
barMetrics. - barMetrics:
Bar metrics.
Discussion
This offset is used to adjust the vertical centering of bordered bar buttons within the bar.