---
title: "findInteraction(_:didBegin:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uifindinteractiondelegate/findinteraction(_:didbegin:)"
---

# findInteraction(_:didBegin:)

Informs the delegate when the interaction is about to present the find panel.

## Declaration

```swift
optional func findInteraction(_ interaction: UIFindInteraction, didBegin session: UIFindSession)
```

## Parameters

- `interaction`: The interaction object triggering the find panel.
- `session`: The session object you provided for the interaction.

## Discussion

Discussion Use this method to decorate your view to indicate that a search operation is about to occur. For example, apply a dimming view around the unhighlighted search results.

## See Also

### Decorating the searched content

- [findInteraction(_:didEnd:)](uikit/uifindinteractiondelegate/findinteraction(_:didend:).md)
