uiview - iPhone Programming: Applying Alpha to Parent but not to Child Views -
Whether it is possible to set alpha to .75 or .50 (transparent) to see the parent, Controls are opaque (alpha channel 1.0 - fully visible).
Whenever I make alpha of my main UIView transparent, the thoughts / controls of all children are also shown as transparent. Is there any remedy?
Parents who work as your background should change a brother before the container Wrap your children in such a way that you can set transparency without affecting the entire hierarchy.
It will look like this.
-
& lt; Item-container & gt;
-
& lt; Item-background & gt;
-
& lt; Children-container & gt;
-
& lt; This hierarchy will be the same visibility order and will allow you to independently set children Container contents
-
-
Comments
Post a Comment