How to capture high resolution image from UIView
问题 I hope you all are safe. I know this question asked several times but not getting a perfect answer. I just wanted to capture an image from UIView with high resolution the main this is that image should not be a blur. I have tried this code extension UIView { func asImage() -> UIImage { let renderer = UIGraphicsImageRenderer(size: self.bounds.size) let capturedImage = renderer.image { (ctx) in self.drawHierarchy(in: self.bounds, afterScreenUpdates: true) } return capturedImage } } Right now