I am drawing free hand lines on UIImageView using CGContext. But when i use
UIGraphicsBeginImageContext(self.frame.size);
CGContextRef context = UIGraphicsGetCurrentContext();
Image is drawn in Imageview using the size of imageView so the original image size is resized to the size of imageView. And again i have to resize the image size to its original size, while doing so it loses its quality. How to draw directly on image instead on imageView ? Also i must use the imageview to fit the image in the view so i can draw lines on it. Help please !!!
You could re-render image with lines on top of it
Although depending on what you are doing with your app this might not be the best approach.
Hope this helped.