When exactly do implicit animations take place in iOS?

后端 未结 6 1718
终归单人心
终归单人心 2020-12-02 17:39

Everyone and every book claims that there are implicit animations happening in CALayer. However, every time I wanted to verify that so far, I end up with a hard-snap to the

6条回答
  •  囚心锁ツ
    2020-12-02 18:22

    You could also set the layer's delegate to your own object and handle -actionForLayer:forKey:. Seems as if you get implicit animation even if the delegate doesn't implement -actionForLayer:forKey:.

提交回复
热议问题