https://developer.apple.com/documentation/avfoundation/avvideocompositioncoreanimationtool
An object used to incorporate Core Animation into a video composition.
코어 애니메이션을 비디오 컴포지션에 통합하기 위해 사용되는 객체입니다.
class AVVideoCompositionCoreAnimationTool : NSObject
모든 애니메이션은 실시간이 아닌 비디오의 타임라인에서 해석될 것입니다. 그렇기 때문에 아래 내용처럼 해야 합니다.
beginTime 속성을 0이 아닌 AVCoreAnimationBeginTimeAtZero(CoreAnimation이 CACurrentMediaTime()으로 대체되는)에 설정해야 합니다.isRemovedOnCompletion 속성을 false로 설정해야 합니다.UIView 객체와 관련이 있는 레이어 사용을 피해야 합니다.