setTitlePositionAdjustment(_:for:)
Sets the title offset for specified bar metrics.
Declaration
func setTitlePositionAdjustment(_ adjustment: UIOffset, for barMetrics: UIBarMetrics)Parameters
- adjustment:
The title offset for
barMetrics. - barMetrics:
Bar metrics.
Discussion
This offset is used to adjust the position of a title (if any) within a bordered bar button.