find(_:configuration:)
Searches for the specified string in the web view’s content.
Declaration
@MainActor @preconcurrency func find(_ string: String, configuration: WKFindConfiguration = .init()) async throws -> WKFindResultParameters
- string:
The search string to use.
- configuration:
The search parameters. Use this object to specify whether the search is case sensitive, whether it moves forward or backward, and whether it wraps when it reaches the end of the page.
Return Value
The object that contains the results of the search.