Transparent (alpha) gradient with Core Graphic iPhone

Viewed 14945

anyone knows how to programmatically create a transparent gradient (alpha gradient), over an image with Core Graphic? I need it both for display an image and save it.

An example of what I want to obtain: enter image description here

3 Answers
Related