UIBarAppearance
An object for customizing the basic appearance of system bars.
Declaration
@MainActor class UIBarAppearanceOverview
A UIBarAppearance object contains the common traits shared by navigation bars, tab bars, and toolbars. When configuring a specific type of bar, you usually instantiate the appropriate bar appearance subclass. However, you may also create a UIBarAppearance object, configure its properties, and use it to create new bar appearance objects in your app.