---
title: WKBackForwardList
framework: webkit
role: symbol
role_heading: Class
path: webkit/wkbackforwardlist
---

# WKBackForwardList

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

## Declaration

```swift
@MainActor class WKBackForwardList
```

## Overview

Overview Use a WKBackForwardList object to retrieve a web view’s previously loaded pages. Typically, you don’t create 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 property and use its contents to facilitate programmatic navigation.

## Topics

### Getting the Most Recent Items

- [backItem](webkit/wkbackforwardlist/backitem.md)
- [currentItem](webkit/wkbackforwardlist/currentitem.md)
- [forwardItem](webkit/wkbackforwardlist/forwarditem.md)

### Getting Specific Items in the List

- [item(at:)](webkit/wkbackforwardlist/item(at:).md)

### Getting Sublists

- [backList](webkit/wkbackforwardlist/backlist.md)
- [forwardList](webkit/wkbackforwardlist/forwardlist.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)

## See Also

### Navigation

- [WKNavigationDelegate](webkit/wknavigationdelegate.md)
- [WKBackForwardListItem](webkit/wkbackforwardlistitem.md)
- [WKNavigation](webkit/wknavigation.md)
- [WKNavigationAction](webkit/wknavigationaction.md)
- [WKNavigationResponse](webkit/wknavigationresponse.md)
