SwiftUI inverse animation delay on removal
问题 I am trying to choreograph animations in SwiftUI. I want two colored bars to move in to the view with a delay between them and then move out of the view with the delays switched so that the removal is the reverse of the insertion. I think I understand why the below code doesn't work, but I can't figure out how to make it do what I need: import SwiftUI struct TestAnimControl: View { @State var show: Bool = false @State var reverseDelay: Bool = false var body: some View { VStack { Button(action