Tutorial :Draw shadow beyond c lipped region on Iphone


In a UIView, is it possible to draw a drop shadow beyond a clip path? I tried to use CGContextSetShadow() before clipping and it doesn't work.


No. It's the drawing, not setting the shadow, that actually draws shadows. All drawing is clipped to the clip path.

Make your clip bounds bigger.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »