Hello!!!
I need to change the Image of a UIButton when user taps it.
How can I do that?
I tried that:
if let image = UIImage(named: "image.png") {
cmdClock.setImage(image, forState: .Normal)
}
But XCode shows this message:
'(UIButton) -> ()' does not have a member name setImage
Thanks!!!