UIView animation overrides previous animation?

I have NSTIMERone that counts the time, and at t = 10 it starts the animation, but during this time it may happen that another animation works. This disables previously running animations.

Any idea? I thought the UIVIEW animation was running in diff streams. I cannot use the permutation selector here, since t = 10 can happen when another animation is running and may not have finished yet.

+3
source share
1 answer

You need to call [UIView setAnimationBeginsFromCurrentState:YES];

+3
source

Source: https://habr.com/ru/post/1747325/


All Articles