首页 > 其他 > 详细

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

时间:2015-05-08 19:40:57      阅读:204      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!