- 本文摘自:
- 本文参考:
- UIGraphicsBeginImageContext(pictureView.bounds.size);
- [pictureView.layer renderInContext:UIGraphicsGetCurrentContext()];
- UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
- UIGraphicsEndImageContext();
- UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);