Reputation: 3121
Was wondering if it's possible to have a a pagecontrol/scrollview to loop.
Example: When swiping from the last page to the right, it will go to the first page. Or swiping from the first page to the left, it will go to the last page.
Upvotes: 1
Views: 1049
Reputation: 35384
You can use the iCarousel control for that. With iCarouselTypeLinear
it looks pretty much like a paged scrollview.
Implement the delegate method - (BOOL)carouselShouldWrap:(iCarousel *)carousel;
to return YES.
Upvotes: 1