Contents

showGrammarPresentation(for:in:)

Used to support the presentation of grammar issues in text. When the user interacts with an issue, call this to bring up the relevant UI.

Declaration

func showGrammarPresentation(for range: NSRange, in context: UIWritingToolsCoordinator.Context) -> Bool

Discussion

Pass in context and range to identify the issue the user selected. Returns NO if the UI cannot be brought up.