I have a UIButton whose image property I'm setting from interface builder. I want this image to be tinted with the superview's tintColor. With code, I can set the image's rendering mode to UIImageRenderingModeAlwaysTemplate, but how do I do this from interface builder?
Got it after a bit of looking around. I had the button type as custom in IB, but switching it to system type now uses the template rendering mode for the UIButton's image.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With