---
title: "presentationCount(for:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uipageviewcontrollerdatasource/presentationcount(for:)"
---

# presentationCount(for:)

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

## Declaration

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

## Parameters

- `pageViewController`: The page view controller.

## Return Value

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

## See Also

### Supporting a Page Indicator

- [presentationIndex(for:)](uikit/uipageviewcontrollerdatasource/presentationindex(for:).md)
