My Question is little bit bigger so apology for that. Now my problem is i have to set a tabbar controller where first tab will contain an UIScrollView with an UIPageControl, until now i have made my tabbar controller with scrollview and uipagecontrol but i am becoming unable to add uiviewcontroller with every page control in the uiscrollview.
Any suggestion and link of source code is great help for me.
Thanks In Advance.
I have done this solution very simply. I have taken one UIScrollview in my main controller where my scroll will work.
In viewDidLoad i have take UIscrollview and load first,next and previous controller as a items of the scrolled view.when i scroll, then respected view controller load on the page of the scrollview.
I also take a uipagecontroll in the viewDidLoad.