There is a UIScrollView with scrolling width
[scrollView setContentSize:CGSizeMake(self.frame.size.width*array.count, self.scrollView.frame.size.height)]; // задаем количество слайдов, three UIView to it UIView transition between them is done through the UIPageControl through the delegate method
- (void)scrollViewDidScroll:(UIScrollView *)scrollView { CGFloat pageWidth = CGRectGetWidth(self.bounds); CGFloat pageFraction = self.scrollView.contentOffset.x / pageWidth; self.pageControl.currentPage = roundf(pageFraction); } Everything works, the problem is that I need endless scrolling. For example, from the last scroll to move to the first, and from the first to the last. Tell me, please, how to do this?