Adds a grayscale effect to this view.
- iOS 13.0+Beta
- macOS 10.15+Beta
- Mac Catalyst 13.0+Beta
- tvOS 13.0+Beta
- watchOS 6.0+Beta
- Xcode 11.0+Beta
The intensity of grayscale to apply. Values closer to 0.0 are more colorful, and values closer to 1.0 are less colorful.
A view that adds a grayscale effect to this view.
A grayscale effect reduces the intensity of colors in this view. The following shows two versions of the same image side by side; at left is the original, and at right is a duplicate with the
amount parameter set to 0.75: