Brightens the view by the specified amount.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
A value between 0 (no effect) and 1 (full white brightening) that represents the intensity of the brightness effect.
A view that brightens this view by the specified amount.
brightness(_:) to brighten the intensity of the colors in a view. The example below shows a series of red squares, with their brightness increasing from 0 (fully red) to 100% (white) in 20% increments.