yanxuegan 2016-10-11 08:30 采纳率: 0%
浏览 1775

ios UIGraphicsBeginImageContext 内存问题

图片说明

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

  • 写回答

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;
    }
    
    评论

报告相同问题?