When exactly do implicit animations take place in iOS?

后端 未结 6 1710
终归单人心
终归单人心 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:03

    actually, you could just return nil to get the default animation of CALay.

    • (id)actionForLayer:(CALayer *)layer forKey:(NSString *)event{ return nil; }

提交回复
热议问题