Sheet Background
Sets the presentation background of the enclosing sheet using a shape style.
Platform Compatibility
Tags
SwiftUI Code
@State var showSheet = true
var body: some View {
Text("Foo")
.sheet(isPresented: $showSheet) {
sheetContent
.presentationBackground(.blue)
}
}