init(preferredStrategy:)
Creates an instance for checking language availability with a preferred translation strategy.
Declaration
init(preferredStrategy: TranslationSession.Strategy)Discussion
Set this property to determine which translation models the framework considers when checking language availability. lowLatency checks for traditional translation models that provide faster translations and use less power. highFidelity checks for Apple Intelligence models that provide more fluent translations. When Apple Intelligence is enabled, these models are already downloaded, so translation is immediately available without prompting the person to download languages. On devices without Apple Intelligence, it falls back to the traditional models used by lowLatency.