---
title: "goToPreviousPage(_:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfview/gotopreviouspage(_:)"
---

# goToPreviousPage(_:)

Navigates to the previous page of the document.

## Declaration

```swift
@IBAction func goToPreviousPage(_ sender: Any?)
```

## Discussion

Discussion PDF Kit records the move in its page history.

## See Also

### Related Documentation

- [canGoToPreviousPage](pdfkit/pdfview/cangotopreviouspage.md)

### Navigating History for a Document

- [goBack(_:)](pdfkit/pdfview/goback(_:).md)
- [goForward(_:)](pdfkit/pdfview/goforward(_:).md)
- [goToFirstPage(_:)](pdfkit/pdfview/gotofirstpage(_:).md)
- [goToLastPage(_:)](pdfkit/pdfview/gotolastpage(_:).md)
- [goToNextPage(_:)](pdfkit/pdfview/gotonextpage(_:).md)
