【发布时间】:2019-11-13 23:30:11
【问题描述】:
在 SwiftUI 中使用简单的List,如何更改/删除节标题的标准背景颜色
struct ContentView : View {
var body: some View {
List {
ForEach(0...3) { section in
Section(header: Text("Section")) {
ForEach(0...3) { row in
Text("Row")
}
}
}
}
}
}
【问题讨论】:
标签: swiftui