UIImage screenshot loses its quality

前端 未结 5 1386
再見小時候
再見小時候 2020-12-11 09:37

I am merging two images and then I take a screenshot by applying this code:

UIGraphicsBeginImageContext(size);
[self.view.layer renderInContext:UIGraphicsGet         


        
5条回答
  •  遥遥无期
    2020-12-11 10:08

    Did you provide an image for retina display? You should check it. You might be running in a simulator (in retina).

提交回复
热议问题