NSString *jpgPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/Test.jpg"]; [UIImageJPEGRepresentation(croppedImage,1.0) writeToFile:jpgPath atomically:YES];
NSString *jpgPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/Test.jpg"]; [UIImageJPEGRepresentation(croppedImage,1.0) writeToFile:jpgPath atomically:YES];
本文标题:iOS最简快速保存图片到沙盒
本文链接:https://www.haomeiwen.com/subject/nmrxuqtx.html
网友评论