SyntaxFix
Write A Post
Hire A Developer
Questions
Several possibilities : (SwiftUI / Xcode 11)
1 .background(Color.black) //for system colors
.background(Color.black) //for system colors
2 .background(Color("green")) //for colors you created in Assets.xcassets
.background(Color("green")) //for colors you created in Assets.xcassets
Hope it help :)