ReverseMask
Reverse the mask functionality in SwiftUI! ?
How to use
You can use the mask to “look through” the black background like so:
Color.black
.reverseMask {
// your view, like an image
}
For details see the Example app.
Reverse the mask functionality in SwiftUI! ?
You can use the mask to “look through” the black background like so:
Color.black
.reverseMask {
// your view, like an image
}
For details see the Example app.