Increased Header Prominence
Sets the header prominence to increased for this view.
Platform Compatibility
Tags
SwiftUI Code
List {
Section {
Text("Foo")
} header: {
Text("Header")
} footer: {
Text("Footer")
}
}
.frame(height: 130)
.headerProminence(.increased)
List {
Section {
Text("Foo")
} header: {
Text("Header")
} footer: {
Text("Footer")
}
}
.frame(height: 130)