Initializer

init(title:)

Returns a navigation item initialized with the specified title.

Declaration

init(title: String)

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