Instance Method

presentationIndexForPageViewController:

Returns the index of the selected item to be reflected in the page indicator.

Declaration

- (NSInteger)presentationIndexForPageViewController:(UIPageViewController *)pageViewController;

Parameters

pageViewController

The page view controller.

Return Value

The index of the selected item to be reflected in the page indicator.

See Also

Supporting a Page Indicator

- presentationCountForPageViewController:

Returns the number of items to be reflected in the page indicator.