Contents

standardAppearance

The appearance settings for a standard-height navigation bar.

Declaration

@NSCopying var standardAppearance: UINavigationBarAppearance? { get set }

Discussion

When the navigation bar displays the current navigation item, the appearance settings in this property override the settings provided by the standardAppearance property of UINavigationBar.

Use this property to apply appearance settings to the navigation bar based on the navigation item stored in the topItem property. If the top item’s standardAppearance property is nil, UIKit uses the navigation bar’s appearance.

See Also

Overriding the navigation bar’s appearance settings