---
title: currentPage
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfview/currentpage
---

# currentPage

Returns the current page.

## Declaration

```swift
var currentPage: PDFPage? { get }
```

## Discussion

Discussion When there are two pages in the view in a two-up mode, “current page” is the left page. For continuous modes, returns the page crossing a horizontal line halfway between the view’s top and bottom bounds.

## See Also

### Related Documentation

- [go(to:)](pdfkit/pdfview/go(to:)-5lh5d.md)

### Navigating Within a Document

- [currentDestination](pdfkit/pdfview/currentdestination.md)
- [visiblePages](pdfkit/pdfview/visiblepages.md)
- [Navigation](pdfkit/navigation.md)
