Force an animation block to finish
-
28-10-2019 - |
Pergunta
How can we force an animation block to finish before the time it takes to complete.
Solução
- Import QuartzCore framework
For each view that is being animated:
[view.layer removeAllAnimations];
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow