iOS最简快速保存图片到沙盒

 NSString  *jpgPath = [NSHomeDirectory()     stringByAppendingPathComponent:@"Documents/Test.jpg"]; [UIImageJPEGRepresentation(croppedImage,1.0) writeToFile:jpgPath atomically:YES];

你可能感兴趣的:(iOS最简快速保存图片到沙盒)