Slide 32
Slide 32 text
var body: some View {
Button("Crash") {
item = .one
Task {
try await Task.sleep(for: .milliseconds(100))
item = .two
try await Task.sleep(for: .milliseconds(100))
item = .three
}
}
.sheet(item: $item, content: { item in
...
})
}
ϞʔμϧΓସ͑தʹ͞ΒʹΓସ͑ΔͱΫϥογϡ
❌Ϋϥογϡ͢Δ