title: Shadow cut off under UIView
body: <p>I'm trying to add some shadow under a UIView. </p>
  
  <p>In <code>drawRect</code> I created a rounded rectangle bezier path and appended a curved arrow-like bottom part to it (blue stuff) </p>
  
  <p><img src="https://i.stack.imgur.com/JqUaF.png" alt="enter image description here"></p>
  
  <p>Here is the shadow's code : </p>
  
  <pre><code>...
      CGContextSaveGState(context);
          CGContextAddPath(context, rectPath.CGPath);  // rectPath is the bezier
          CGContextSetShadowWithColor(context,shadowSize, 3.0, [[[UIColor blackColor]  colorWithAlphaComponent:0.7]CGColor]);    
          CGContextFillPath(context);
      CGContextRestoreGState(context);
  ...
  </code></pre>
  
  <p>As you can see, the shadow is cut off at the bottom, that's where the view's frame ends. Can I extend the shadow "outside" the frame ?  </p>