Muss ich den von UIGraphicsGetCurrentContext () zurückgegebenen Kontext freigeben?
Ich benutzeCGContextRef
.
UIGraphicsBeginImageContext(self.drawImage.frame.size);
CGContextRef context=UIGraphicsGetCurrentContext();
CGContextSetRGBStrokeColor(context,0.0f,0.0f,0.0f,1.0f);
UIGraphicsEndImageContext();
CGContextRelease(context);
Muss ich @ anrufCGContextRelease(Context);
in der obigen.