I'm having an issue with iOS while using CGImageDestinationFinalize. I'll call CGImageDestinationFinalize on a CGImageDestinationRef and I'll get the following warning
Error: The function `CGContextClear' is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.
Looking at Instruments, my memory usage shoots up (sometimes it gets so high that it crashes) when I call CGImageDestinationFinalize. I'm not sure if this issue is to blame or not, but I've isolated it to being an issue with CGImageDestinationFinalize
Any advice on what to use to avoid calling a CGContextClear? Or how to reduce memory usage with CGImageDestinationFinalize?