I have a superview containing two overlapping subviews (one pink and one green). When changing the opacity of the parent view, the subviews show the overlapping section (even though they are fully opaque). How can I make it so the view as a whole fades out, not the individual subviews. I've also tried changing the opacity of the CALayer
. Here is a screen:
A full version of the code can be found here.