Contents

init(title:)

Creates a navigation item 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

Related Documentation

Initializing an item