How Do I Save What I have Drawn In A CGContext
- by sylvanaar
I have drawn into a CGContext of a UIView.
- (void)drawRect:(CGRect)rect {
[self drawInContext:UIGraphicsGetCurrentContext()]
}
I would like to save what I have drawn to a png file.
Is there a simple solution?