Contents

findAndReplace(_:)

Begins a search for content in your app’s interface and provides a replacement.

Declaration

optional func findAndReplace(_ sender: Any?)

Parameters

  • sender:

    The object calling this method.

Discussion

UIKit calls this method when the user selects the Find and Replace command from an editing menu. Your implementation should present the UI for finding and replacing textual content in your view.

For example, a view using a find interaction might call presentFindNavigator(showingReplace:) to present the system find panel.

See Also

Handling find and replace commands