码迷,mamicode.com
首页 > 其他好文 > 详细

使用ZXingObjC选取相册里的照片进行扫码时注意

时间:2015-05-08 19:43:39      阅读:192      评论:0      收藏:0      [点我收藏+]

标签:

_imagePickerController.allowsEditing = YES; ? ?//一定要选择允许编辑


?

UIImage *image = [info objectForKey:@"UIImagePickerControllerEditedImage”]; ? //image一定要取选择框范围内的图片


?

info == {

?

? ? UIImagePickerControllerCropRect = "NSRect: {{0, 0}, {2272, 1704}}";

?

? ? UIImagePickerControllerEditedImage = "<UIImage: 0x16e3d150> size {640, 480} orientation 0 scale 1.000000";

?

? ? UIImagePickerControllerMediaType = "public.image";

?

? ? UIImagePickerControllerOriginalImage = "<UIImage: 0x16e263f0> size {2272, 1704} orientation 0 scale 1.000000";

?

? ? UIImagePickerControllerReferenceURL = "assets-library://asset/asset.JPG?id=E9FB04A9-2E0E-407B-9B87-FEBBF4F27A12&ext=JPG";

?

}



使用ZXingObjC选取相册里的照片进行扫码时注意

标签:

原文地址:http://www.cnblogs.com/allen123/p/4488458.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!