代码见图
给图片打水印 多次调用这个方法会出现内存不释放的情况 只增不减,求大神知道,万分感谢 !!!
@autoreleasepool {
UIImage *image = [self imageWithView:_outputImageView]; //create the image
[movie addImage:image frameNum:i fps:kFramesPerSec]; //use the image as a frame in movie
image = nil;
}