---
title: canGoToFirstPage
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfview/cangotofirstpage
---

# canGoToFirstPage

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

## Declaration

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

## Discussion

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

## See Also

### Related Documentation

- [goToFirstPage(_:)](pdfkit/pdfview/gotofirstpage(_:).md)

### Determining Valid History Operations

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