Closed ararog closed 10 years ago
Got it, you mean, instead of have only this:
[pv changePage:1];
I must do this:
[self setViewControllers:@[[self viewControllerAtIndex:page]] direction:direction animated:YES completion:nil];
without mention to the fact that I'm referring to your code here, so I should build the array by myself, control de direction of the paging and etc.
Ok then.
Thanks for the PR!
UIPageViewController already offers this functionality though, so there's no need to duplicate it.