Track if view is being animated

Viewed 38

Assuming i have a button is being animated. How do we track that this button is being animated? I read Apple document but did not find anything.

My goal are: 1. Get animating data and 2. prevent this button from triggering while the animation is still going on.

Button("label") {
 action
}
0 Answers
Related