Tinting an Image Using Masks

Episode #406 | 5 minutes | published on August 15, 2019 | Uses Swift-5.0, Xcode-10.2.1
Free Video
Sometimes we need to create variants of our icons. This can be done by using template images and using a UIImageView with a tintColor change, however sometimes this isn't feasible. We can use our icons along with a mask to create new images of whatever color we want. In this episode we'll use UIGraphicsImageRenderer to quickly draw a new dimmed image for a highlighted button state.

Nothing yet...

blog comments powered by Disqus