Reputation: 129
I had requirement as when ever we scroll images (have several image views of 300*150 size on scroll view) the alpha of the image must be gradually decreased/increased based upon scrolling.. so can any one help on this..
Thanks in Advance
need same as below but for image views
need the fade as on the third image
Upvotes: 0
Views: 231
Reputation: 12714
The easiest way is to use a gradient image (white to transparent here) and add it to an UIImageView on top of the content.
Upvotes: 2