Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

button color swiftui

Button(action: {self.buttonTapped()}) {
  Text("Button")
   		.padding(.all, 12)
  		.foregroundColor(.white)
  		.background(Color.red)
}
 
PREVIOUS NEXT
Tagged: #button #color #swiftui
ADD COMMENT
Topic
Name
7+5 =