<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: 13.4.0 -",
    "macOS: 10.15.4 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKFindConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKFindConfiguration"
  },
  "title" : "WKFindConfiguration"
}
-->

# WKFindConfiguration

The configuration parameters to use when searching the contents of the web view.

```
@MainActor class WKFindConfiguration
```

## Overview

Create a [`WKFindConfiguration`](/documentation/WebKit/WKFindConfiguration) object and configure its attributes to specify how to perform searches within the web view’s contents. To initiate a search, call the appropriate method of [`WKWebView`](/documentation/WebKit/WKWebView) and pass this object along with the search string.

## Topics

### Configuring the Search Parameters

[`backwards`](/documentation/WebKit/WKFindConfiguration/backwards)

A Boolean value that indicates the search direction, relative to the current selection.

[`caseSensitive`](/documentation/WebKit/WKFindConfiguration/caseSensitive)

A Boolean value that indicates whether to consider case when matching the search string.

[`wraps`](/documentation/WebKit/WKFindConfiguration/wraps)

A Boolean value that indicates whether the search wraps around to the other side of the page.

## See Also

[`find(_:configuration:completionHandler:)`](/documentation/WebKit/WKWebView/find(_:configuration:completionHandler:))

Searches for the specified string in the web view’s content.

[`findString:withConfiguration:completionHandler:`](/documentation/WebKit/WKWebView/findString:withConfiguration:completionHandler:)

Searches for the specified string in the web view’s content.



---

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)