Answers for "how to change the screen color xcdoe"

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 "how to change the screen color xcdoe"

Code answers related to "Swift"

Browse Popular Code Answers by Language