views:

98

answers:

1

Hi there,

I want to have a custom view at the top of my UITextView that will scroll with the text view, so it is only visible when the text view is scrolled to the very top. Can this be done? I was thinking that because it is a subclass of UIScrollView there may be something that can be done.

Thanks!

+1  A: 

Have you tried changing the contentInset / contentOffset / contentSize properties, inherited from UIScrollView?

Shaggy Frog
Thanks! Worked great!
Michael Waterfall