代码见图
给图片打水印 多次调用这个方法会出现内存不释放的情况 只增不减,求大神知道,万分感谢 !!!

ios UIGraphicsBeginImageContext 内存问题
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- oyljerry 2016-10-11 09:32关注
@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; }
解决评论 打赏 举报无用 1