<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BETextInput/insert(_:)-5iryn",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(pl)BETextInput(im)insertTextSuggestion:"
  },
  "title" : "insert(_:)"
}
-->

# insert(_:)

Inserts a text suggestion in response to a suggestion selection.

```
func insert(_ textSuggestion: BETextSuggestion)
```

## Parameters

`textSuggestion`

The suggestion to insert.

## Discussion

The system calls this method to suggest text-view insertions, for example, for AutoFill credentials.

---

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)