Instance Property

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 same settings found in the standardAppearance property.

See Also

Customizing the Bar's Appearance

var prefersLargeTitles: Bool

A Boolean value indicating whether the title should be displayed in a large format.

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.

var isTranslucent: Bool

A Boolean value indicating whether the navigation bar is translucent (true) or not (false).

Legacy Customizations

Customize appearance information directly on the navigation bar object.