I work in iOS 6 . Is there an easy way to darken (i.e. add a darker shade) to everything on the UIViewController screen, except for a few select UIImageViews ?
For example, the goal is to highlight non-dark images. The user clearly knows that these are the only valid or selectable UIImageViews to click — and when the user deletes the actual UIImageView , the screen will return to normal.
Just to clarify, I do not just want to fade away everything else, it just gets dark, like adding a transparent 0.5 alpha layer.
I looked here: Show the view as disabled , and it seems very relevant, except that I am not working on a single UIImageView , but a UIViewController which has UIImageViews as subzones. And even if I run the masking code in every view in my supervisor, I think it will still not cover the entire screen.
Thank you for your help.
source share