<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebBackForwardList/forwardList(withLimit:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WebBackForwardList(im)forwardListWithLimit:"
  },
  "title" : "forwardList(withLimit:)"
}
-->

# forwardList(withLimit:)

Returns the items that follow the current item in the back-forward list, up to the specified number of items.

```
func forwardList(withLimit limit: Int32) -> [Any]!
```

## Parameters

`limit`

The greatest number of items to return.

## Return Value

An array containing (at most) the specified number of items, or `nil` if no items follow the current item.

## Discussion

---

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)