---
title: optionsMenuProvider
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uifindinteraction/optionsmenuprovider
---

# optionsMenuProvider

A closure that populates the search options for a find interaction.

## Declaration

```swift
var optionsMenuProvider: (([UIMenuElement]) -> UIMenu?)? { get set }
```

## Discussion

Discussion You use this closure to modify, augement or omit options from the default set available in UITextSearchOptions.

## See Also

### Configuring the find panel

- [isFindNavigatorVisible](uikit/uifindinteraction/isfindnavigatorvisible.md)
- [searchText](uikit/uifindinteraction/searchtext.md)
- [replacementText](uikit/uifindinteraction/replacementtext.md)
