Contents

findNext(_:)

Finds the next match in your app’s interface.

Declaration

optional func findNext(_ sender: Any?)

Parameters

  • sender:

    The object calling this method.

Discussion

UIKit calls this method when the user selects the Find Next command from an editing menu. Your implementation should highlight the next result in the UI for finding textual content in your view.

For example, a view using a find interaction might call highlightNextResult(in:) to update the find session.

See Also

Handling find and replace commands