<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFView/goBack(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFView(im)goBack:"
  },
  "title" : "goBack(_:)"
}
-->

# goBack(_:)

Navigates back one step in the page history.

```
@IBAction func goBack(_ sender: Any?)
```

## Discussion

The page history gets built as your application calls navigation methods such as [`go(to:)`](/documentation/PDFKit/PDFView/go(to:)-5lh5d) and [`goToLastPage(_:)`](/documentation/PDFKit/PDFView/goToLastPage(_:)).

## See Also

[`canGoBack`](/documentation/PDFKit/PDFView/canGoBack)

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)