Contents

setBackButtonTitlePositionAdjustment(_:for:)

Sets the back button title offset for specified bar metrics.

Declaration

func setBackButtonTitlePositionAdjustment(_ adjustment: UIOffset, for barMetrics: UIBarMetrics)

Parameters

  • adjustment:

    The back button title offset for barMetrics.

  • barMetrics:

    Bar metrics.

Discussion

This modifier applies only to navigation bar back buttons and is ignored by other buttons.

See Also

Customizing the Back button