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

# goToNextPage(_:)

Navigates to the next page of the document.

## Declaration

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

## Discussion

Discussion PDF Kit records the move in its page history.

## See Also

### Related Documentation

- [canGoToNextPage](pdfkit/pdfview/cangotonextpage.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)
- [goToPreviousPage(_:)](pdfkit/pdfview/gotopreviouspage(_:).md)
