<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFindInteractionDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIFindInteractionDelegate"
  },
  "title" : "UIFindInteractionDelegate"
}
-->

# UIFindInteractionDelegate

A delegate object that provides a session object to manage the search state for a find interaction and receives notifications of search session lifetimes.

```
@MainActor protocol UIFindInteractionDelegate : NSObjectProtocol
```

## Topics

### Beginning the search

[`func findInteraction(UIFindInteraction, sessionFor: UIView) -> UIFindSession?`](/documentation/UIKit/UIFindInteractionDelegate/findInteraction(_:sessionFor:))

Provides the object for managing the state, presentation, and behavior of the search.

### Decorating the searched content

[`func findInteraction(UIFindInteraction, didBegin: UIFindSession)`](/documentation/UIKit/UIFindInteractionDelegate/findInteraction(_:didBegin:))

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

[`func findInteraction(UIFindInteraction, didEnd: UIFindSession)`](/documentation/UIKit/UIFindInteractionDelegate/findInteraction(_:didEnd:))

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

## Relationships

### Conforming Types

[`UITextView`](/documentation/UIKit/UITextView)

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)