Protocol: UIPageViewControllerDataSource
Overview
The UIPageViewControllerDataSource protocol is adopted by an object that provides view controllers to the page view controller on an as-needed basis, in response to navigation gestures.Returns the view controller after the given view controller. (required)Returns the view controller before the given view controller. (required)Returns the number of items to be reflected in the page indicator. (required)Returns the index of the selected item to be reflected in the page indicator. (required)
Instance Method Summary (collapse)
-
- pageViewController:viewControllerAfterViewController:
Returns the view controller after the given view controller.
-
- pageViewController:viewControllerBeforeViewController:
Returns the view controller before the given view controller.
-
- presentationCountForPageViewController:
Returns the number of items to be reflected in the page indicator.
-
- presentationIndexForPageViewController:
Returns the index of the selected item to be reflected in the page indicator.
Instance Method Details
- (UIViewController) pageViewController(pageViewController, viewControllerAfterViewController:viewController)
Returns the view controller after the given view controller. (required)
- (UIViewController) pageViewController(pageViewController, viewControllerBeforeViewController:viewController)
Returns the view controller before the given view controller. (required)
- (Integer) presentationCountForPageViewController(pageViewController)
Returns the number of items to be reflected in the page indicator. (required)
- (Integer) presentationIndexForPageViewController(pageViewController)
Returns the index of the selected item to be reflected in the page indicator. (required)