Instance Property

backItem

The navigation item that is immediately below the topmost item on navigation bar’s stack.

Declaration

@property(nonatomic, readonly, strong) UINavigationItem *backItem;

Discussion

If the leftBarButtonItem property of the topmost navigation item is nil, the navigation bar displays a back button whose title is derived from the item in this property.

If there is only one item on the navigation bar’s stack, the value of this property is nil.

See Also

Pushing and Popping Items

- pushNavigationItem:animated:

Pushes the given navigation item onto the navigation bar's stack and updates the UI.

- popNavigationItemAnimated:

Pops the top item from the navigation bar's stack and updates the UI.

- setItems:animated:

Replaces the navigation items currently managed by the navigation bar with the specified items.

items

An array of navigation items managed by the navigation bar.

topItem

The navigation item at the top of the navigation bar’s stack.