Instance Method

setTitlePositionAdjustment:forBarMetrics:

Sets the title offset for given bar metrics.

Declaration

- (void)setTitlePositionAdjustment:(UIOffset)adjustment forBarMetrics:(UIBarMetrics)barMetrics;

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.

See Also

Customizing Appearance

tintColor

The tint color to apply to the button item.

- backButtonBackgroundImageForState:barMetrics:

Returns the back button background image for a given control state and bar metrics.

- setBackButtonBackgroundImage:forState:barMetrics:

Sets the back button background image for a given control state and bar metrics

- backButtonTitlePositionAdjustmentForBarMetrics:

Returns the back button title offset for given bar metrics.

- setBackButtonTitlePositionAdjustment:forBarMetrics:

Sets the back button title offset for given bar metrics

- backButtonBackgroundVerticalPositionAdjustmentForBarMetrics:

Returns the back button vertical position offset for given bar metrics.

- setBackButtonBackgroundVerticalPositionAdjustment:forBarMetrics:

Sets the back button vertical position offset for given bar metrics.

- backgroundVerticalPositionAdjustmentForBarMetrics:

Returns the background vertical position offset for given bar metrics.

- setBackgroundVerticalPositionAdjustment:forBarMetrics:

Sets the background vertical position offset for given bar metrics.

- backgroundImageForState:barMetrics:

Returns the background image for a given state and bar metrics.

- setBackgroundImage:forState:barMetrics:

Sets the background image for a given state and bar metrics.

- backgroundImageForState:style:barMetrics:

Returns the background image for the specified state, style, and metrics.

- setBackgroundImage:forState:style:barMetrics:

Sets the background image for the specified state, style, and metrics.

- titlePositionAdjustmentForBarMetrics:

Returns the title offset for given bar metrics.