I am having following scenario:
There is a parent view controller which displays view A. Takes whole screen to display its content.
To view A, I'm adding
addSubView: ViewB
. Now View B here is covering some portion of the screen partially over A, and user can see that part of view A which is not covered by view B.Now I'm trying to create a view C and want to add it to view B
addSubView: ViewC
, such that it overlays over view B, only to clip out a portion of View B, so that the user can see through that underlying portion of View A.
Question:
How can I go through writing properties of view C controller such that I can accomplish this clipping effect.