Contents

findSelected(_:)

Begins a search for the selected content in your browser text view.

Declaration

optional func findSelected(_ sender: Any?)

Parameters

  • sender:

    The object calling this method.

Discussion

UIKit calls this method when someone selects Use Selection for Find from an editing menu. Present the UI for finding text in your view, and use the selected text for the search. To present the standard system UI for finding text, and support standard keyboard shortcuts, add a UIFindInteraction to your browser text view.

See Also

Finding and replacing text