Instance Property


The tab bar style that specifies its appearance.


var barStyle: UIBarStyle { get set }


This property determines whether the tab bar uses a dark or light visual style when no background image or tint color is specified. Together with the isTranslucent property, this property defines the default visual style of the tab bar. Set this property to the value that best matches the style of your interface. For a list of possible values, see UIBarStyle. The default value of this property is UIBarStyle.default.

See Also

Setting the Bar's Style

enum UIBarStyle

Defines the stylistic appearance of different types of views.