UIScrollView, showing that there is more data by fading out text?

You can use a CAGradientLayer on both top and bottom. You can add/remove this in the delegate method scrollViewDidScroll: based on the scroll view's contentOffset .

Up vote 0 down vote favorite 1 share g+ share fb share tw.

Iphone uiscrollview link|improve this question asked Jun 14 '11 at 14:51Crystal2,353932 81% accept rate.

You can use a CAGradientLayer on both top and bottom. You can add/remove this in the delegate method scrollViewDidScroll: based on the scroll view's contentOffset.

You can add an ImageView as a subview for scroll view with an transparent png in it.

You can easily fade views in and out using Core Animation. See the Animations section of the View Programming Guide for iOS for an idea of what you can easily animate. There's even an example (Listing 4-1) of animating the alpha property.

Since my UIScrollView is 300,400, I would only want to decrease the alpha for the top and bottom of the UIScrollView. – Crystal Jun 17 '11 at 15:36 I think I misunderstood what you were looking for -- after rereading, it sounds like you want something that looks like UIPickerView's scrolling list. Overlaying a gradient as @Deepak suggests is the right way to do that.

– Caleb Jun 17 '11 at 16:08.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions