My build target is set for IOS5 which is where I understand UIButton.tintColor was introduced...
UIButton.tintColor
I have this in my viewDidLoad for the View Controller
In iOS 13 you can tint the image and then set it to the button:
let coloredImage = UIImage().withTintColor(UIColor.red) UIButton().setImage(coloredImage, for: .normal)