I have a custom shape of an arrow set up in code. What I\'m trying to do is fill it with gradient. Problem is, I have no idea how to fill a non rectangular shape (space inside d
Check out this apple sample application. It has exactly what u need in the "Polygons" section (for filling a polygon). What you need to change is drawing the gradient instead of drawing as in the example. Drawing gradients is also exemplified in the sample, under the "Gradients" section.
http://developer.apple.com/library/ios/#samplecode/QuartzDemo/Introduction/Intro.html
Hope this helps, Vlad