I have 16 button. And I want to change background color of button, when button is clicked.
This is my code:
@IBOutlet var buttons: [UIButton]!
@IBAction func button_Taped(_ sender: UIButton) {
}
}
How can I change when clicked the buutton change background color of button