Instance Property

translucent

A Boolean value that indicates whether the tab bar is translucent.

Declaration

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

Discussion

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

If the tab 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 Tab Bar Appearance

standardAppearance

The appearance settings for a standard-height tab bar.

leadingAccessoryView

The view at the leading edge of a tab bar on tvOS.

trailingAccessoryView

The view at the trailing edge of a tab bar on tvOS.

Legacy Customizations

Customize appearance information directly on the tab bar object.