I’m developing painting app in this app i’m using ACEDrawing tool to draw over the view. But , I’ve to cut particular portion of the painting and to paste at anywhere on the view.
I can copy the paintings of the view as a image. my code is here
CGSize size = [view bounds].size;
[[view layer] renderInContext:UIGraphicsGetCurrentContext()];
UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();
but ,I can paste it only as a image using UIImageView. I don’t know how to paste it as a painting over view then only I can erase or redraw.
Thanks in advance.