Instance Property

standardAppearance

The appearance settings for a standard-height navigation bar.

Declaration

@NSCopying var standardAppearance: UINavigationBarAppearance { get set }

Discussion

The default value of this property is an appearance object containing the system's default appearance settings.

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 compactAppearance: UINavigationBarAppearance?

The appearance settings for a compact-height navigation bar.

Beta
var scrollEdgeAppearance: UINavigationBarAppearance?

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

Beta
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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software