I want to do a screenshot of a UIWebView, I use this code
Code:
UIGraphicsBeginImageContext(self.vistaWeb.bounds.size);
[vistaWeb.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageWriteToSavedPhotosAlbum(viewImage,nil,NULL,NULL);
and it work well, my problem is that I want to make a screenshot of all the uiwebview, not only the visible view...for example, I have a uiwebview of 200x200 but the page is 200x500, whit this code I make a screenshot of 200x200 while I want to do a screenshot of 200x500.what I have to do?
kikko088