An object for customizing the appearance of tab bar items.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
Framework
- UIKit
Declaration
class UITabBarItemAppearance : NSObject
An object for customizing the appearance of tab bar items.
SDKs
Framework
class UITabBarItemAppearance : NSObject
init(style: UITab Bar Item Appearance .Style)
Creates an appearance object with appropriate default values for a tab bar, displaying its items with the specified layout style.
init()
Creates an appearance object with default values for a stacked tab bar item.
func configure With Default(for: UITab Bar Item Appearance .Style)
Configures the tab bar item appearance object with appropriate values for the specified style.
enum UITab Bar Item Appearance .Style
Constants indicating the layout of a tab bar item's content.
var normal: UITab Bar Item State Appearance
The appearance data to apply to the tab bar item when it is enabled, unselected, and not the focused item.
var selected: UITab Bar Item State Appearance
The appearance data to apply to the tab bar item when it is selected.
var disabled: UITab Bar Item State Appearance
The appearance data to apply to the tab bar item when it is disabled.
var focused: UITab Bar Item State Appearance
The appearance data to apply to the tab bar item when it is focused.
class UITab Bar Appearance
An object for customizing the appearance of a tab bar.
class UITab Bar Item State Appearance
A data object containing the specific customizations for tab bar items in a particular state.