<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKBackForwardList",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKBackForwardList"
  },
  "title" : "WKBackForwardList"
}
-->

# WKBackForwardList

An object that manages the list of previously loaded webpages, which the web view uses for forward and backward navigation.

```
@MainActor class WKBackForwardList
```

## Overview

Use a [`WKBackForwardList`](/documentation/WebKit/WKBackForwardList) object to retrieve a web view’s previously loaded pages. Typically, you don’t create [`WKBackForwardList`](/documentation/WebKit/WKBackForwardList) objects directly. Each web view creates one automatically and uses it to store the history of all loaded pages. Fetch this object from your web view’s [`backForwardList`](/documentation/WebKit/WKWebView/backForwardList) property and use its contents to facilitate programmatic navigation.

## Topics

### Getting the Most Recent Items

[`backItem`](/documentation/WebKit/WKBackForwardList/backItem)

The item immediately preceding the current item, if any.

[`currentItem`](/documentation/WebKit/WKBackForwardList/currentItem)

The current item.

[`forwardItem`](/documentation/WebKit/WKBackForwardList/forwardItem)

The item immediately following the current item, if any.

### Getting Specific Items in the List

[`item(at:)`](/documentation/WebKit/WKBackForwardList/item(at:))

Returns the item at the relative offset from the current item.

### Getting Sublists

[`backList`](/documentation/WebKit/WKBackForwardList/backList)

The array of items that precede the current item.

[`forwardList`](/documentation/WebKit/WKBackForwardList/forwardList)

The array of items that follow the current item.



---

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)