Closed ChrisBeeson closed 10 years ago
Hi it would be handy to have
- (UIViewController *)viewControllerAtIndex:(NSInteger)index
as a public function so we could programatically navigate pages when we override the controller.
[self setViewControllers:@[[self viewControllerAtIndex:1]] direction:UIPageViewControllerNavigationDirectionForward animated:NO completion:nil];
Moving to a page in such a way does however play havoc with the presentation Index for the page controller and I'm not sure on a clean solution at this time.
Thank you! :) I just pushed this.
Added in MSPageViewController 1.0.1 :)
Hi it would be handy to have
as a public function so we could programatically navigate pages when we override the controller.
Moving to a page in such a way does however play havoc with the presentation Index for the page controller and I'm not sure on a clean solution at this time.