---
title: canGoBack
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfview/cangoback
---

# canGoBack

Returns a Boolean value indicating whether the user can navigate to the previous page in the page history.

## Declaration

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

## Discussion

Discussion The page history gets built as your application calls navigation methods such as go(to:) and goToLastPage(_:).

## See Also

### Related Documentation

- [goBack(_:)](pdfkit/pdfview/goback(_:).md)

### Determining Valid History Operations

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