Instance Method

backgroundVerticalPositionAdjustmentForBarMetrics:

Returns the background vertical position offset for given bar metrics.

Declaration

- (CGFloat)backgroundVerticalPositionAdjustmentForBarMetrics:(UIBarMetrics)barMetrics;

Parameters

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.

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.

- 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.

- setTitlePositionAdjustment:forBarMetrics:

Sets the title offset for given bar metrics.