I\'m wanting to add a UIScrollView with paging to go through different views from my existing view controller which is the root view of my app. I also have tab bar and navi
I would perhaps try using UIPageViewController, rather than a regular paging scrollview.
Apple's PhotoScroller sample code provides a very good example of how to use UIPageViewController
.
I also have some code on github that modifies PhotoScroller to load the UIPageViewController
inside a UIViewController
subclass. (In Apple's sample code, the UIPageViewController
is the root view controller.)
I have never used a UIPageViewController
with different UIViewController
subclasses in each page (the PhotoScroller sample code uses PhotoViewController
s in all pages), but I can't see why it couldn't be done with a few modifications to the code.