Contents

UIBarAppearance

An object for customizing the basic appearance of system bars.

Declaration

@MainActor class UIBarAppearance

Overview

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.

Topics

Creating a custom bar appearance object

Copying a custom bar appearance object

Resetting the appearance properties

Configuring the background appearance

Configuring the shadow appearance

Getting the supported idiom

See Also

Shared appearance