I tried to apply a shadow to an uiView inside a containerView. The problem is that the shadow at the top gets cut by the boundaries of the containerView. Here you can see my view hierarchy:
> containerView
> pageViewController
> scrollView
> view
> view !!! → the shadow was here applied
It looks like this:
I tried to apply layer.masksToBounds to several superViews of my "shadowView" but nothing helped...
Has anyone a solution?
Thank you in advance!
With best regards Tom