I need to accomplish this function: There is a GIF overlay on a video, hoping to composition this video and GIF to a new video. I\'m using the following code, but result is only
You should adjust your animation settings for CoreAnimation:
animation
animation.beginTime = AVCoreAnimationBeginTimeAtZero; animation.removedOnCompletion = NO;