---
title: "webView(_:shouldGoTo:willUseInstantBack:completionHandler:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/wknavigationdelegate/webview(_:shouldgoto:willuseinstantback:completionhandler:)"
---

# webView(_:shouldGoTo:willUseInstantBack:completionHandler:)

## Declaration

```swift
optional func webView(_ webView: WKWebView, shouldGoTo backForwardListItem: WKBackForwardListItem, willUseInstantBack: Bool, completionHandler: @escaping (Bool) -> Void)
```

```swift
optional func webView(_ webView: WKWebView, shouldGoTo backForwardListItem: WKBackForwardListItem, willUseInstantBack: Bool) async -> Bool
```
