Adjusts the color saturation of the view.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
Framework
- Swift
UI
Declaration
Parameters
amount
The amount of saturation to apply to this view.
Return Value
A view that adjusts the saturation of this view.
Discussion
Changing color saturation increases or decreases the intensity of colors in a 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 its saturation set to 3.5:
