Contents

presentationIndex(for:)

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

Declaration

optional func presentationIndex(for pageViewController: UIPageViewController) -> Int

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