Instance Method

pageViewController:viewControllerBeforeViewController:

Returns the view controller before the given view controller.

Required.

Declaration

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

Parameters

pageViewController

The page view controller

viewController

The view controller that the user navigated away from.

Return Value

The view controller before the given view controller, or nil to indicate that there is no previous view controller.

See Also

Providing View Controllers

- pageViewController:viewControllerAfterViewController:

Returns the view controller after the given view controller.

Required.