Answers for "how to change button color in swiftUI"

1

set color for uibutton programmatically swift

button.setTitleColor(.red, for: .normal)
Posted by: Guest on February-21-2020
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

Code answers related to "how to change button color in swiftUI"

Code answers related to "Swift"

Browse Popular Code Answers by Language