<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebView-swift.class/goBack(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WebView(im)goBack:"
  },
  "title" : "goBack(_:)"
}
-->

# goBack(_:)

An action method that loads the previous location in the back-forward list.

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

## Parameters

`sender`

The object that sent this message.

## Discussion

This method does nothing if it is unable to move backward.

---

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)