Answers for "swiftui set background color of view"

2

give background color swiftui

Color.blue.edgesIgnoringSafeArea(.all)
Posted by: Guest on March-13-2020
0

swiftui background color

Group {
	//Views inside the highest view in the hierarchy
}.background(Color.red.edgesIgnoringSafeArea(.all))
Posted by: Guest on June-30-2020
0

how to set the stack color in swiftui

struct ContentView: View {
    var body: some View {
        ZStack {
            Color.red
            .edgesIgnoringSafeArea(.all)
        }
    }
}
Posted by: Guest on December-10-2020

Code answers related to "swiftui set background color of view"

Code answers related to "Swift"

Browse Popular Code Answers by Language