---
title: canGoToPreviousPage
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfview/cangotopreviouspage
---

# canGoToPreviousPage

Returns a Boolean value indicating whether the user can navigate to the previous page of the document.

## Declaration

```swift
var canGoToPreviousPage: Bool { get }
```

## Discussion

Discussion The return value will be true unless the view is displaying the first page.

## See Also

### Determining Valid History Operations

- [canGoBack](pdfkit/pdfview/cangoback.md)
- [canGoForward](pdfkit/pdfview/cangoforward.md)
- [canGoToFirstPage](pdfkit/pdfview/cangotofirstpage.md)
- [canGoToLastPage](pdfkit/pdfview/cangotolastpage.md)
- [canGoToNextPage](pdfkit/pdfview/cangotonextpage.md)
