I am trying to change the image of a UIButton using Swift... What should I do
This is OBJ-C code.but I don\'t know with Swift:
[playButton setImage:[
As of swift 3.0 .normal state has been removed.you can use following to apply normal state.
myButton.setTitle("myTitle", for: [])