Answers for "Define color in swiftUI"

1

swiftui font color

Text("The best laid plans")
    .foregroundColor(Color.red)
Posted by: Guest on February-18-2021
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

Code answers related to "Swift"

Browse Popular Code Answers by Language