Instance Property


The appearance settings for a compact-height navigation bar.


@NSCopying var compactAppearance: UINavigationBarAppearance? { get set }


When the navigation bar displays the current navigation item, the appearance settings in this property override the settings provided by the compactAppearance property of UINavigationBar. If this property is not set, UIKit uses the navigation bar's appearance settings instead.

See Also

Overriding the Navigation Bar's Appearance Settings

var standardAppearance: UINavigationBarAppearance?

The appearance settings for a standard-height navigation bar.

var scrollEdgeAppearance: UINavigationBarAppearance?

The appearance settings to use when the edge of any scrollable content reaches the matching edge of the navigation bar.