Closed Umar-M-Haroon closed 8 years ago
Try capturing the screenshot using -[UIView drawViewHierarchyInRect:afterScreenUpdates:]
instead.
Adding [wholeScreen.layer drawViewHierarchyInRect:self.view.bounds afterScreenUpdates:YES];
fixes the issue. Closing now.
I have a section of my app that contains a blurred image, and if you try to save the image with the following code, the blur will result in lots of squares, which is not aesthetically appealing.
Here is the following code for taking the screenshot