I use the following code in the welcome view. But when looking at the preview, “Kuchi” appears to be centered below “Welcome to”, rather than being left aligned as the image in the book suggests.
VStack {
Text("Welcome to")
.font(.headline)
.bold()
Text("Kuchi")
.font(.largeTitle)
.bold()
}
.foregroundColor(.red)
.lineLimit(2)
.multilineTextAlignment(.leading)
.padding(.horizontal)
}