Possible Duplicate:
How to create a UIScrollView of infinite scrolling?
I'm trying to get a UIScrollView
to infinitely scroll vertically and wrap around its contents, in this case a multiline UILabel
. (For displaying credits)
I thought it would be a simple case of resetting the offset when at the bottom to the top again to give the illusion that it's scrolling forever.
I tried doing this by using setContentOffset
of a UIScrollView
inside scrollViewDidScroll
, but the problem is that the velocity of the scroll comes to a dead stop when I set the content offset which kills the seamless effect.
Any idea what I'm missing, or if there's a better way of doing this?
Thanks.