Answers for "button background color ios swift"

1

button color swiftui

Button(action: {self.buttonTapped()}) {
  Text("Button")
   		.padding(.all, 12)
  		.foregroundColor(.white)
  		.background(Color.red)
}
Posted by: Guest on March-13-2020
0

how to change background color swift

self.view.backgroundColor = .black / .blue / .purple / .clear /ect.
Posted by: Guest on March-30-2020

Code answers related to "button background color ios swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language