0

Adding pagination to uipageviewcontroller, is it possible?

I am a newbie and I want to load few pages of uipageviewcontroller at first and when user scrolls to 4th page I want to load another 5 pages.

Is it possible to achieve? Thanks.

Hasya
  • 9,792
  • 4
  • 31
  • 46
user3804063
  • 809
  • 1
  • 14
  • 32
  • just go through the link [uipageviewcontroller-tutorial-intro](https://www.appcoda.com/uipageviewcontroller-tutorial-intro/) run the sample code given. this may help you – Chandan Aug 01 '16 at 10:45
  • @ChandanPrajapati I have gone but I want to load 5 more that means want to update datasource – user3804063 Aug 01 '16 at 10:48
  • just see this post which give you the idea as you want: [how-can-i-add-new-pages-to-a-uipageviewcontroller-after-the-user-has-reached-the](http://stackoverflow.com/questions/15306096/how-can-i-add-new-pages-to-a-uipageviewcontroller-after-the-user-has-reached-the) – Chandan Aug 01 '16 at 11:09

1 Answers1

0

Consider using FlexiblePageViewController (UIPageViewController for processing arbitrary data).
It supports pagination behavior.

injung
  • 84
  • 5