Programmatically:
let image = UIImage(named: "image")
btn.setImage(btnImage , forState: .normal)
Storyboard:
Select your image > Attributes inspector > Image
Programmatically:
let image = UIImage(named: "image")
btn.setImage(btnImage , forState: .normal)
Storyboard:
Select your image > Attributes inspector > Image