Instance Property

translucent

A Boolean value indicating whether the navigation bar is translucent (YES) or not (NO).

Declaration

@property(nonatomic, assign, getter=isTranslucent) BOOL translucent;

Discussion

When the navigation bar is translucent, configure the edgesForExtendedLayout and extendedLayoutIncludesOpaqueBars properties of your view controller to display your content underneath the navigation bar.

If the navigation bar doesn't have a custom background image, or if any pixel of the background image has an alpha value of less than 1.0, the default value of this property is YES. If the background image is completely opaque, the default value of this property is NO. If you set this property to YES and the custom background image is completely opaque, UIKit applies a system-defined opacity of less than 1.0 to the image. If you set this property to NO and the background image is not opaque, UIKit adds an opaque backdrop.

See Also

Customizing the Bar's Appearance

prefersLargeTitles

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

standardAppearance

The appearance settings for a standard-height navigation bar.

Beta
compactAppearance

The appearance settings for a compact-height navigation bar.

Beta
scrollEdgeAppearance

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

Beta
Legacy Customizations

Customize appearance information directly on the navigation bar object.