Instance Method

pageViewController:viewControllerAfterViewController:

Returns the view controller after the given view controller.

Required.

Declaration

- (UIViewController *)pageViewController:(UIPageViewController *)pageViewController viewControllerAfterViewController:(UIViewController *)viewController;

Parameters

pageViewController

The page view controller

viewController

The view controller that the user navigated away from.

Return Value

The view controller after the given view controller, or nil to indicate that there is no next view controller.

See Also

Providing View Controllers

- pageViewController:viewControllerBeforeViewController:

Returns the view controller before the given view controller.

Required.