What exactly does removedOnCompletion = NO do?

前端 未结 4 1764
闹比i
闹比i 2021-02-02 00:35

CAAnimation provides the removedOnCompletion property which defaults to YES.

Let\'s recognize these facts:

A) Core Animation only affects the Presentation Tree,

4条回答
  •  被撕碎了的回忆
    2021-02-02 00:56

    The presentation layer of the view is effected by the animation even it stopped. When remove the animation, the presentation layer will be revert to the value of model layer of the view, so you will get a result as an0 pointed.

提交回复
热议问题