uibutton with image code example Example: uibutton image Click to copylet btnImage = UIImage(named: "image") btnTwo.setImage(btnImage , for: .normal)