I have a icon asset in interface builder which I have as my button image. I can change the colour of it using
button.tintColor = UIColor.blueColor()
Can I apply a gradient though to a tintColor property?
UPDATE
For clarity, my png image icon has different shapes, heart, camera, which I have set up as template images. They all have transparent backgrounds.