Lig*_*ght 5 jpeg objective-c representation uiimage
我需要执行UIImageJPEGRepresentation方法,之后将其保存到文件中,我需要将其保存到UIImage.请帮忙..
您可以使用此:
NSData *imageData = UIImageJPEGRepresentation(uiimageObject,1.0);
UIImage *imageObj = [UIImage imageWithData:imageData];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11010 次 |
| 最近记录: |