Multiple Stages | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/18411672-swiftui-animation/lessons/7

how does the .transition() modifier on the Zstack know when to fire off the “shootUp” transition?

1 Like

how does the .transition() modifier on the Zstack know when to fire off the “shootUp” transition?

‘animation’ was deprecated in iOS 15.0: Use withAnimation or animation(_:value:) instead.

With the new animation(_:value), the transition() doesn’t work anymore.