I used a very simple animation that opens a button bar in a very soft an smooth way:
.animation(.spring(response:1.5))
I want to update my app to iOS15 and 'animation' was deprecated in iOS 15.0
So I tried to change my animation to:
.animation(.spring(response:1.5), value: 0)
or something like:
.animation(.spring(response: 1.5, dampingFraction: 2.5, blendDuration: 2.5), value: 10)
however, the new animation pops up very fast and the smooth effect is gone.
Does anyone know how to bring my little spring animation to iOS 15?