Code Monkey home page Code Monkey logo

zczbar's Introduction

ZCZBarSDK

版本说明 iOS研究院 305044955 1.8版本 剔除生成二维码文件,使用iOS7原生生成二维码 1.7版本 修复了开启相机点击,用户如果点击拒绝,会导致崩溃的问题 1.6版本 增加了支持了区别条码和二维码,可以关闭扫描二维码来增加条码扫描速度 1.5版本 修正了iOS6下扫描会卡死,增加了iOS7下支持条形码,修改了算法,增加了效率 1.4版本 支持iOS8系统,修改了相应UI的适配问题 1.3版本 全新支持arm7s arm64 全新支持ARC 1.2版本 ZC封装的ZBar二维码SDK 1、更新类名从CustomViewController更改为ZCZBarViewController 2、删除掉代理的相关代码 1.1版本 ZC封装的ZBar二维码SDK~ 1、增加block回调 2、取消代理 3、增加适配IOS7(ios7在AVFoundation中增加了扫描二维码功能) 1.0版本 ZC封装的ZBar二维码SDK~1.0版本初始建立

二维码编译顺序 Zbar编译 需要添加AVFoundation CoreMedia CoreVideo QuartzCore libiconv

//示例代码 扫描代码 BOOL代表是否关闭二维码扫描,专门扫描条形码 ZCZBarViewController*vc=[[ZCZBarViewController alloc]initWithIsQRCode:NO Block:^(NSString *result, BOOL isFinish) { if (isFinish) { NSLog(@"最后的结果%@",result); }

}];

[self presentViewController:vc animated:YES completion:nil];

生成二维码 [ZCZBarViewController createImageWithImageView:imageView String:@"http://www.baidu.com"Scale:4];

zczbar's People

Contributors

149393437 avatar

Watchers

James Cloos avatar 唐伟 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.