How to screen-shot ALL content of tableView? (all content = visible are + NOT visible area)
I tried this:
UIGraphicsBeginImageContext(self.tableView.
You have to use contentSize.height
for getting the height of tableview
Try this
UIGraphicsBeginImageContext(self.tableView.contentSize.height);
[self.tableView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage* image1 = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
self.imageView.image = image1;