Translation Framework

Sep 18 2024 · Swift 6.0, iOS 18.0, Xcode 16.0 beta 3

Lesson 02: Using the Translation Overlay

Demo

Episode complete

Play next episode

Next

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Open up the starter project and run the app on a physical device, since the capabilities we need are not supported yet on the simulator.

import Translation
@State private var showTranslation = false
Button("Translate") {
  showTranslation.toggle()
}
.translationPresentation(isPresented: $showTranslation,
  text: translatableText)
See forum comments
Cinema mode Download course materials from Github
Previous: Instruction 1 Next: Instruction 2