Sets the contrast and separation between similar colors in 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 color constrast to apply. Negative values invert colors in addition to applying contrast.
A view that applies color contrast to this view.
Apply contrast to a view when you want to increase or decrease the separation between similar colors in the view. The following image shows a photo next to that same photo with the contrast set to 3: