iphone - Mask specific subViews of UIView? -


i working on project. have uiview has several subviews. need know how mask subviews parent view, or mask 1 particular view. there way add refinement checks masktobounds property? direction or suggestion appreciated.

what mean masking?

if want hide particular view, create standalone additional view , change frame whichever view want hide. bring standalone view front of view want hide, add using insersubview :abovesubview , variants of it. more on it, see this.

this requires able access them using specific outlets, or through tags know of subviews array, allow conditional masking.

if want hide instead of "masking" other content, obvious choices are:

  • set it's hidden property yes.
  • set it's alpha property 0.0 (or fade out effect)

Popular posts from this blog

Apache NiFi ExecuteScript: Groovy script to replace Json values via a mapping file -

python 3.x - PyQt5 - Signal : pyqtSignal no method connect -