📜  如何在 swiftui 中设置堆栈颜色 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:00:57.589000             🧑  作者: Mango

代码示例3
struct ContentView: View {
    var body: some View {
        ZStack {
            Color.red
            .edgesIgnoringSafeArea(.all)
        }
    }
}