Contents

standardAppearance

The appearance settings for a tab bar.

Declaration

@NSCopying var standardAppearance: UITabBarAppearance? { get set }

Discussion

When a tab bar displays the selected item, the appearance setting in this property overrides the settings in the standardAppearance property of UITabBar.

Use this property to apply a tab bar appearance based on the tab bar item stored in the selectedItem property. If the selected item’s standardAppearance property is nil, UIKit uses the tab bar’s standard appearance.

See Also

Configuring the item’s appearance