<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFindInteraction/presentFindNavigator(showingReplace:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIFindInteraction(im)presentFindNavigatorShowingReplace:"
  },
  "title" : "presentFindNavigator(showingReplace:)"
}
-->

# presentFindNavigator(showingReplace:)

Begins a search, displaying the find panel.

```
func presentFindNavigator(showingReplace: Bool)
```

## Parameters

`showingReplace`

`YES` to display a replace text field in the panel if the delegate supports text replacement. `No` to avoid displaying the replace text field.

## Discussion

You use this method to begin a search and display the find panel. The method calls [`findInteraction(_:sessionFor:)`](/documentation/UIKit/UIFindInteractionDelegate/findInteraction(_:sessionFor:)) on the interaction object’s delegate and updates the UI using the session object the delegate returns.

The following example presents the find panel from a bar button item.

```swift
@objc func findButtonTapped(sender: UIBarButtonItem) {
    self.findInteraction!.presentFindNavigator(showingReplace: false)
}
```

The method has no effect if the find navigator panel is already present.

---

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)