Sheet Drag Indicator Visibility
Sets the visibility of the drag indicator on top of a sheet.
Platform Compatibility
Tags
SwiftUI Code
@State var showSheet = true
var body: some View {
Text("Foo")
.sheet(isPresented: $showSheet) {
sheetContent
.presentationDragIndicator(.visible)
}
}