Instance Property


The navigation bar style that specifies its appearance.


var barStyle: UIBarStyle { get set }


See UIBarStyle for possible values. The default value is UIBarStyle.default.

It is permissible to set the value of this property when the navigation bar is being managed by a navigation controller object.

See Also

Setting the Bar's Style

enum UIBarStyle

Defines the stylistic appearance of different types of views.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software