Contents

showReplacements(forText:)

Displays inline text replacements for the current selection.

Declaration

func showReplacements(forText text: String)

Discussion

Call this method to present system UI for suggesting text replacements, for example, when your browser text view receives promptForReplace(_:).

See Also

Text replacements