Instance Method

backgroundImageForBarMetrics:

Returns the background image for given bar metrics.

Declaration

- (UIImage *)backgroundImageForBarMetrics:(UIBarMetrics)barMetrics;

Parameters

barMetrics

A bar metrics constant.

Return Value

The background image for barMetrics.

Discussion

Equivalent to using backgroundImageForBarPosition:barMetrics: with a position of UIBarPositionAny.

See Also

Changing the Background

barTintColor

The tint color to apply to the navigation bar background.

- setBackgroundImage:forBarMetrics:

Sets the background image for given bar metrics.

- backgroundImageForBarPosition:barMetrics:

Returns the background image to use for a given bar position and set of metrics.

- setBackgroundImage:forBarPosition:barMetrics:

Sets the background image to use for a given bar position and set of metrics.