It looks like you're new here. If you want to get involved, click one of these buttons!
scottiphone wrote: »
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
This will provide a UIImage of the view. There's tradeoffs to doing the same drawing (memory size vs speed) in the drawRect of the other view.
Eric20000 wrote: »
Thanks for your help, it works but a warning appear on this line
warning: no '-renderInContext:' method found
warning: (Messages without a matching method signature will be assumed
to return 'id' and accept '...' as arguments.
metaTheory wrote: »
>OK, you want to use CGImageCreateWithImageInRect( CGImageRef, CGRect).
Yes, I want too.
BUT How do I get a CGImageRef from a UIView?
flipconversion wrote: »
This method is great, but it doesn't seem to capture my OpenGL layers - any advice?