backgroundVerticalPositionAdjustment(for:)
Returns the background vertical position offset for specified bar metrics.
Declaration
func backgroundVerticalPositionAdjustment(for barMetrics: UIBarMetrics) -> CGFloatParameters
- barMetrics:
Bar metrics.
Return Value
The background vertical position offset for barMetrics.
Discussion
This offset is used to adjust the vertical centering of bordered bar buttons within the bar.