Loop an UIScrollView

Posted by Ilya on Stack Overflow See other posts from Stack Overflow or by Ilya
Published on 2009-09-05T17:35:06Z Indexed on 2010/03/25 6:43 UTC
Read the original article Hit count: 779

Filed under:
|

Hi,

I've got an UIScrollView and in it different images(about 30). I'd like to make it possible, when user reaches the last image to show the first one after it and so on. And I want to implement the same feature with the first image(to go to the last one). I'd like to loop the images smoothly that user won't even notice that he is making another loop.

What is the best way to achieve this?

Thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa-touch