Instance Method

initWithTitle:

Returns a navigation item initialized with the specified title.

Declaration

- (instancetype)initWithTitle:(NSString *)title;

Parameters

title

The string to set as the navigation item’s title displayed in the center of the navigation bar.

Return Value

A new UINavigationItem object initialized with the specified title.

Discussion

This is the designated initializer for this class.

See Also

Initializing an Item