How can I draw a shadow beyond a UIView's bounds?
I'm using the method described at How do I draw a shadow under a UIView? to draw shadow behind a view's content. The shadow is clipped to the view's bounds, although I disabled "Clip Subviews" in Interface Builder for the view. Is it possible to draw a shadow around a view and not only in a view? I don't want to draw the shadow inside the view because the view would receive touch events for the shadow area, which really belongs to the background. It is not encouraged to draw outside view bounds. Maybe you can include the shadow directly in your background... Regards, Instead of manual drawing