Sets the blend mode for compositing this view with overlapping views.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
Blendfor compositing this view.
A view that applies
blend to this view.
blend to combine overlapping views and use a different visual effect to produce the result. The
Blend enumeration defines many possible effects.
In the example below, the two overlapping rectangles have a
.color effect applied, which effectively removes the non-overlapping portion of the second image: