Slide 6
Slide 6 text
struct NoSematicLayoutView: View {
var body: some View {
VStack {
Image("Avatar")
.resizable()
.scaledToFit()
Text("Hello, world")
.font(.system(size: 28))
}
.padding(16)
.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
Button {
// লུ
} label: {
Text("Done")
.bold()
}
}
ToolbarItem(placement: .navigationBarLeading) {
Button("Cancel") {
// লུ
}
}
}
}
}
←ϑΥϯταΠζͷ۩ମతͳࢦఆ
←༨നαΠζͷ۩ମతͳࢦఆ
↑↓ஔͷ۩ମతͳࢦఆ