Contents

titlePositionAdjustment(for:)

Returns the title offset for specified bar metrics.

Declaration

func titlePositionAdjustment(for barMetrics: UIBarMetrics) -> UIOffset

Parameters

  • barMetrics:

    Bar metrics.

Return Value

The title offset for barMetrics.

Discussion

This offset is used to adjust the position of a title (if any) within a bordered bar button.

See Also

Customizing the title placement