Contents

UITabBarItemStateAppearance

A data object containing the specific customizations for tab bar items in a particular state.

Declaration

@MainActor class UITabBarItemStateAppearance

Overview

Use a UITabBarItemStateAppearance object to customize the appearance of your tab bar items and the badges they display. Don’t create UITabBarItemStateAppearance objects yourself. Instead, create a UITabBarItemAppearance object and use its properties to fetch the appearance attributes for tab bar items in a particular state. For example, to set the attributes for items in the normal state, configure the object in the normal property.

Topics

Configuring the item’s title

Tinting the item’s icon

Configuring the badge appearance

See Also

Tab bar appearance