I would like to use UIPageControl
to navigate between different view controllers. I have 2 view controllers and another main view controller contains the UIPageControl
. The 2 view controllers to be navigated between have been added as children to the main view controller. When I currently start the application, I see a blank screen. I used pageControl.currentPage = 0
but I am unable to understand why I am unable to see the views.
Note that I do not want to use UIScrollView
in my application.
Edit - I have followed this tutorial http://www.wannabegeek.com/?p=168
But it uses scroll view. I do not want to use scroll view since it is creating some issues with a UIWebView
and a CorePlot which I use in the different view controllers.
I seek guidance as to how to modify this tutorial without using scroll view. Thanks!