is there the possibility in some way to call a handler or closure when a certain animation on a view using the animation-View-Modifier has ended?
Like the "animate" - Feature in UIKit:
https://developer.apple.com/documentation/uikit/uiview/1622515-animate
I'm using this:
.animation(.easeInOut(duration: animationDurationOffsetX), value: xOffset)
But as I already said there is no way to pass a completion block.
Thank you!
Best Regards,
Frank