Tutorial :Draw shadow beyond c lipped region on Iphone



Question:

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.


Solution:1

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
Previous
Next Post »