8
我使用此代码从视图中呈现图像。 然后我将它保存到相册中。 图像模糊? 为什么?有解决方案吗?iphone,当使用“renderInContext”将图像保存到设备时,图像模糊?
UIGraphicsBeginImageContext(self.view.bounds.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
Tnx all。
TNX man.That工作就像一个魅力。 – Shay
欢迎您:) –
Thnx Bro现在工作很好..... – Gurpreet