In Xcode, how do you set the background of a UIButton as an image? Or, how can you set a background gradient in the UIButton?
UIButton
In case it helps anyone setBackgroundImage didn't work for me, but setImage did
setBackgroundImage
setImage