Question : button color swiftui
Answered by : mobile-star
Button(action: {self.buttonTapped()}) { Text("Button") .padding(.all, 12) .foregroundColor(.white) .background(Color.red)
}
Source : | Last Update : Fri, 20 Mar 20
Question : how to change background color of ui button swift
Answered by : vuk
sender.backgroundColor = UIColor.green
Source : | Last Update : Sat, 30 Jul 22