How Do I Save What I have Drawn In A CGContext
Posted
by sylvanaar
on Stack Overflow
See other posts from Stack Overflow
or by sylvanaar
Published on 2010-04-02T18:31:33Z
Indexed on
2010/04/02
18:33 UTC
Read the original article
Hit count: 479
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?
© Stack Overflow or respective owner