I\'m receiving image from a server, then based on a color chosen by the user, the image color will be changed.
I tried the following :
_sketchImageVi
let image = UIImage(named: "i m a g e n a m e")?.withRenderingMode(.alwaysTemplate) imageView.tintColor = UIColor.white // Change to require color imageView.image = image