I have a single-color image that has partial transparency. I have both normal and @2X versions of the image. I would like to be able to tint the image a different color, in code
The code in the question is working code. The bug was elsewhere.