摘要: 1 //转换成NSData来保存图片2 0NSString *path=[NSString stringWithFormat:@"%@/Documents/%@.jpg",NSHomeDirectory(),@"image"]; 3 NSData *image = UIImageJPEGRepresentation(imageUrl,0); 4 [image writeToFile:pathatomically:YES];5 6 NSString *path=[NSString stringWithFormat:@"%@/Documents/% 阅读全文
posted @ 2013-09-02 10:58 wangzhenxiang 阅读(138) 评论(0) 推荐(0) 编辑