#406 - Tinting an Image Using Masks
from NSScreencast (free videos) Hosted by Ben Scheirman
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.
Embed this episode
No transcript yet.
Frequently asked questions
When was this NSScreencast (free videos) episode published?
This episode was published on August 15, 2019.
Can I download this NSScreencast (free videos) episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.