Contents

promptForReplace(_:)

Shows potential replacements for the selected content.

Declaration

optional func promptForReplace(_ sender: Any?)

Parameters

  • sender:

    The object calling this method.

Discussion

To present the standard system UI for this action, call showReplacements(forText:) in your implementation of this method.

See Also

Finding and replacing text