Hidden List Section Separator
Sets whether to hide the separator associated with a list section.
Platform Compatibility
Tags
SwiftUI Code
List {
Section("Header") {
Text("Foo")
}
.listSectionSeparator(.hidden)
Section("Header") {
Text("Bar")
}
}
.listStyle(.grouped)