translate(text:from:)
Presents a translation of the text.
Declaration
func translate(text: String, from presentationRect: CGRect)Parameters
- text:
The text to translate.
- presentationRect:
The area in the text input view in which the text appears, which the system uses to locate the translation UI.