Thank you for such an useful controller. I used it as a 5.0-compatible replacement for UIPageViewController with scroll transition.
I am displaying a collection of photos and need to move to a photo at a given index before displaying the controller. I could do that calling setViewControllers:@[controllerToMoveTo], but it doesn't work. I didn't investigate in detail, but it seems that is because contentOffset is not set properly.
Thank you for such an useful controller. I used it as a 5.0-compatible replacement for UIPageViewController with scroll transition.
I am displaying a collection of photos and need to move to a photo at a given index before displaying the controller. I could do that calling setViewControllers:@[controllerToMoveTo], but it doesn't work. I didn't investigate in detail, but it seems that is because contentOffset is not set properly.
Adding:
before:
in setViewControllers: solved this issue.