I've added a PDF
image as an asset to Xcode
, I want to change the tintColor
of the image but without any success.
I've tried to add User Defined Runtime Attributes
, but it won't work.
Also tried to change programatically, but it won't work.
self.buttonBringFriend.imageView.tintColor = UIColor.white
Does anyone have a solution?
Xcode 11.1 Swift 5.1
To set image color, use the below method:
How to use:-