Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple Visible Pages in Scroll Style UIPageViewController

So what I'm looking to do is have a UIPageViewController that will end up displaying three view controller vies, one fully visible and then two as previews to the right and left. An example would be the iOS6 App Store:

iOS6 App Store

Is doing this using a UIPageViewController set to UIPageViewControllerTransitionStyleScroll possible?

Basically I'd ideally like to have is a case where I can have three UIViewControllers that I recycle as the user pages through the 1- items in the list (with n being at least 50). I know an interface that behaves like this can be done with a UIScrollView with paging enable, but re-using views would take some view shuffling code that I'd rather not write if Apple has already done it for me.

I'm totally comfortable with the fact that this is iOS6 only, by the way, and also comfortable with alternatives, if they exist.

Thanks!

like image 680
ultramiraculous Avatar asked Sep 23 '12 21:09

ultramiraculous


1 Answers

Check the new collection view. I think you may be able to create something like that with reusing cell etc.

like image 186
Fábio Oliveira Avatar answered Oct 18 '22 17:10

Fábio Oliveira