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

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo