I have a label with some text in, that is currently just set to the default colour and fill. I also have an abstract image.
How can you use the image to fill the text so that the text looks patterned?
I have a label with some text in, that is currently just set to the default colour and fill. I also have an abstract image.
How can you use the image to fill the text so that the text looks patterned?
UIColor can be created from a pattern image, so anywhere you can use a UIColor you can use an image.
label.textColor = UIColor(patternImage: image));