title: Filling a path with a gradient on iOS
body: <p>On a <code>CAShapeLayer</code>, I've drawn a closed <code>UIBezierPath</code>. I can fill this shape by setting the <code>fillColor</code>, however I want to fill the shape with a gradient. How can I set up the <code>CAGradientLayer</code>so it clips to the shape outlined by the bezier path?</p>