Contents

attributedTargetText

The translated formatted text.

Declaration

let attributedTargetText: AttributedString?

Discussion

This property contains the translated text with formatting and defined attributes preserved and aligned from the source text.

The framework makes a best effort to preserve attributes like accessibility instructions and time ranges, aligning them to the corresponding words in the target language.

For examples of translating attributed source text, see attributedSourceText.

See Also

Getting translation results