Instance Method

presentationCount(for:)

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

Declaration

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

Parameters

pageViewController

The page view controller.

Return Value

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

See Also

Supporting a Page Indicator

func presentationIndex(for: UIPageViewController) -> Int

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