swift button images code example Example: swift add image to button Click to copymyButton.setImage(UIImage(named: "myImage"), forState: .normal)