UILabel stops animations

前端 未结 3 683
猫巷女王i
猫巷女王i 2020-12-22 00:39

I have 5 UIImageViews getting animated down the screen. If one is pressed, and it meets the requirements, it will add 1 to your score, using this:



        
3条回答
  •  囚心锁ツ
    2020-12-22 01:12

    Instead of animating the constraints by hand, you can also have UIImageView generate constraints during animation (which does not get broken by a sibling UILabel). Like in this question.

提交回复
热议问题