How to cancel UIViews block-based animation?

前端 未结 4 1495
野性不改
野性不改 2020-12-15 19:05

i currently focus the following problem:

i start an animation, where 2 objects-attributes are triggered.

the code is:

    [UIView animateWith         


        
4条回答
  •  -上瘾入骨i
    2020-12-15 19:46

    You can remove all the animations from the views layer

    [movingView.layer removeAllAnimations];
    

提交回复
热议问题