A custom view displayed in the center of the navigation bar when the receiver is the top item.
- iOS 2.0+
- tvOS 9.0+
If this property value is
nil, the navigation item’s title is displayed in the center of the navigation bar when the receiver is the top item. If you set this property to a custom title, it is displayed instead of the title.
Custom views can contain buttons. Use the
init(type:) method in
UIButton class to add buttons to your custom view in the style of the navigation bar. Custom title views are centered on the navigation bar and may be resized to fit.
The default value is