UIGraphicsBeginImageContext(self.view.bounds.size);
//UIGraphicsBeginImageContextWithOptions(self.view.bounds.size, NO, 0.0);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageWriteToSavedPhotosAlbum(viewImage, self, nil, nil);
iphone 截屏保存
最新推荐文章于 2025-05-09 15:04:47 发布
1482

被折叠的 条评论
为什么被折叠?



