AVVideoCompositionCoreAnimationTool
An object used to incorporate Core Animation into a video composition.
Declaration
class AVVideoCompositionCoreAnimationToolOverview
Any animations will be interpreted on the video’s timeline, not real-time, so you should:
Set animations’ beginTime property to AVCoreAnimationBeginTimeAtZero rather than
0(which CoreAnimation replaces with CACurrentMediaTime());Set isRemovedOnCompletion to false on animations so they are not automatically removed;
Avoid using layers that are associated with UIView objects.
Topics
Creating a composition tool
init(additionalLayer:asTrackID:)init(postProcessingAsVideoLayer:in:)init(postProcessingAsVideoLayers:in:)init(configuration:)AVVideoCompositionCoreAnimationTool.Configuration