Class

UINavigationBarAppearance

An object for customizing the appearance of a navigation bar.

Declaration

@interface UINavigationBarAppearance : UIBarAppearance

Overview

After creating a UINavigationBarAppearance object, use the methods and properties of this class to specify the appearance you want for items in the navigation bar. Use the inherited properties from UIBarAppearance to configure the background and shadow attributes of the navigation bar itself.

Topics

Configuring the Title

titleTextAttributes

String attributes to apply to the text of a standard-size title.

largeTitleTextAttributes

String attributes to apply to the text of a large-size title.

titlePositionAdjustment

The distance, in points, by which to offset the title horizontally and vertically.

Configuring Bar Button Items

buttonAppearance

The appearance attributes for plain bar button items in the navigation bar.

Configuring the Back Button

backButtonAppearance

The appearance attributes for the back button.

backIndicatorImage

The image to display on the leading edge of the back button.

backIndicatorTransitionMaskImage

The image for masking content flowing under the back indicator image during push and pop transitions.

- setBackIndicatorImage:transitionMaskImage:

Sets the back button indicator image and its transition mask.

Configuring the Done Button

doneButtonAppearance

The appearance attributes for Done buttons.

Relationships

Inherits From