Contents

translate(_:)

Presents a translation of the selected text.

Declaration

optional func translate(_ sender: Any?)

Parameters

  • sender:

    The object calling this method.

Discussion

To present the standard system UI for translating text, call translate(text:from:) in your implementation of this method.

See Also

Translating and transliterating text