Adds a grayscale effect to the view.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
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: