I need to provide paging in scrollview with different page size, each page will be of different size, whenever I scroll down or up it should show next page in the screen, and if the page size can not fit in single screen then it should allow further scrolling too till the end of that page. Here is the image for how i want to display data in two section.
See the below linked App in itunes for more clearity that how do I want the actual implementaiton.
https://itunes.apple.com/us/app/circa-news/id517114354
please help me some one how to do this. thanks in advance.
Follow this steps:-
Download the page control source code from here https://github.com/yeahdongcn/RSCircaPageControl
Import RSCircaPageControl.h to use the functionality.
In the view where you want above layout,add above downloaded control as subview.
Add scroll view as sub view of the page control,if your data content is more than visible area.
Explore the sample code how they have used, I guess this control fulfills all your requirements, RSCircaPageControl.h & RSCircaPageControl.m are main helper classes.
ALL THE BEST