<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKUIDelegate/webView(_:insertInputSuggestion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(pl)WKUIDelegate(im)webView:insertInputSuggestion:"
  },
  "title" : "webView(_:insertInputSuggestion:)"
}
-->

# webView(_:insertInputSuggestion:)

```
optional func webView(_ webView: WKWebView, insertInputSuggestion inputSuggestion: UIInputSuggestion)
```

## Parameters

`webView`

The web view where the input suggestion should be inserted.

`inputSuggestion`

The input suggestion that the user or system selected.

## Discussion\abstract Tells the delegate when the keyboard delivers an input suggestion.

---

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)