摘要: 在scanview中添加扫描区域ZBarReaderViewController *reader = [ZBarReaderViewController new]; reader.readerDelegate = self; //CGRect frame= CGRectMake(20, 30, 320, 260); reader.scanCrop= CGRectMake(0.2, .1, .47, .8); 自定义scanview添加一个自定义的扫描框- (UIView *)setOverlayPickerView{ UIView *v=[[UIView alloc]... 阅读全文
posted @ 2012-12-07 12:20 阿新 阅读(3914) 评论(2) 推荐(0) 编辑
摘要: http://pastebin.com/wSVW1tRcCGRect scanCropThe region of the video image that will be scanned, innormalized image coordinates. Note that the video image is in landscape mode (default {{0, 0}, {1, 1}})The coordinates for all of the arguments is in a normalized float, which is from 0 - 1. So, in norma 阅读全文
posted @ 2012-12-07 07:27 阿新 阅读(952) 评论(0) 推荐(0) 编辑