Contents

compactAppearance

The appearance settings for a compact-height navigation bar.

Declaration

@NSCopying var compactAppearance: UINavigationBarAppearance? { get set }

Discussion

If the value of this property is nil, UIKit uses the standardAppearance of the item stored in the topItem property. You can customize the compact appearance for specific navigation items with the compactAppearance property of UINavigationItem.

See Also

Customizing the bar’s appearance