I am trying to get the Graphics Context from my Custom View and clear it. I know how to do it on the iPhone using
I have been looking all over to find the equivalent to do this when programming for OS X. Does anyone know how to do this?
Thanks, Blake
Code:
CGContextRef ctx = UIGraphicsGetCurrentContext();
CGContextClearRect(ctx, rect);
I have been looking all over to find the equivalent to do this when programming for OS X. Does anyone know how to do this?
Thanks, Blake