---
title: "share(_:)"
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: "browserenginekit/berespondereditactions/share(_:)"
---

# share(_:)

Presents UI for sharing the selected text.

## Declaration

```swift
optional func share(_ sender: Any?)
```

## Parameters

- `sender`: The object calling this method.

## Discussion

Discussion To present the standard system UI for sharing content, call share(text:from:) in your implementation of this method.

## See Also

### Defining and sharing text

- [lookup(_:)](browserenginekit/berespondereditactions/lookup(_:).md)
