问题
Below is a screenshot from instrument app.
Is there any explanation what is wrong with that line ?
回答1:
ARC does not manage C-types, of which CGImage may be considered. You must release the ref manually when you are finished with CGImageRelease(image); found the answer hire
来源:https://stackoverflow.com/questions/23656934/imagewithcgimage-leaks-according-to-instrument