A Boolean value indicating whether the navigation bar is translucent (
YES) or not (
- iOS 3.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
When the navigation bar is translucent, configure the
extended 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, 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 to the image. If you set this property to
NO and the background image is not opaque, UIKit adds an opaque backdrop.