Guess the top - CALayer mask for UIScrollView

I have a UIScrollView and I want it to disappear only from above. The rest would be solid, as if in my picture. To be clear, I don't want the content to disappear, I want the whole scrollview to disappear. ScrollView itself is solidly transparent, but I want it to disappear at some point ... Is this possible?

How I want it ...

I hope this is clear enough ... If I can make it clearer, write me a comment.

+3
source share
1 answer

When you say “fade to transparency,” what color is behind transparency? Is this a black background to be displayed through?

, UIImageView UIScrollView , 0% 100% .

, , , , .

+1

All Articles