摘要: http://blog.csdn.net/sf1106/article/details/8673292ios中摄像头/相册获取图片,压缩图片,上传服务器方法总结http://amandayljaefi.blog.sohu.com/236124710.html获取iphone相册方法:方法一:ALAssetsLibraryGroupsEnumerationResultsBlock listGroupBlock =^(ALAssetsGroup *group, BOOL *stop) {if (group!=nil) {[groups addObject:group];} else {[self. 阅读全文
posted @ 2013-06-06 14:09 lizx 阅读(1052) 评论(0) 推荐(0)
摘要: NSData *imageData = [NSData dataWithContentsOfFile: imagePath];UIImage *aimage = [UIImage imageWithData: imageData]; //UIImage-> NSDataNSData *imageData = UIImagePNGRepresentation(aimae); 阅读全文
posted @ 2013-06-06 11:29 lizx 阅读(127) 评论(0) 推荐(0)