UIBarButtonItemStateAppearance
A data object containing the specific customizations for a bar button item in a particular state.
Declaration
@MainActor class UIBarButtonItemStateAppearanceOverview
Use a UIBarButtonItemStateAppearance object to customize the title and background image of your bar button items. Don’t create UIBarButtonItemStateAppearance objects yourself. Instead, create a UIBarButtonItemAppearance object and use its properties to fetch the appearance attributes for the button in a particular state. For example, to set the button’s attributes when it’s in the normal state, configure the object in the normal property.