二维码扫描ViewController GEQRCodeView

码农软件 · 软件分类 · 其他(Others) · 2019-07-23 12:27:00

软件介绍

GEQRCodeView 是一个简单的二维码扫描 ViewController。简单易用。在 iOS7 下使用 Apple 提供的 SDK 扫描二维码,快速。为了兼容 iOS6,又将 zbar 集成进来。根据版本不同切换不同的引擎。

使用

在将要打开二维码扫描的ViewController里继承QRReaderDelegate协议,并实现以下方法

#pragma mark - qrReader delegate- (void) qrReaderViewController:(UIViewController *)view didFinishPickingInformation:(NSString *)info{
    [view dismissViewControllerAnimated:YES completion:^{

        //todo...

    }];}- (void) qrReaderDismiss:(UIViewController *)view{
    [view dismissViewControllerAnimated:YES completion:nil];}

打开二维码界面

    GEQRViewController *viewController = [[GEQRViewController alloc] init];
    viewController.delegate = self;
    [self presentViewController:viewController animated:YES completion:nil];


本文地址:https://codercto.com/soft/d/10758.html

Introduction to Programming in Java

Introduction to Programming in Java

Robert Sedgewick、Kevin Wayne / Addison-Wesley / 2007-7-27 / USD 89.00

By emphasizing the application of computer programming not only in success stories in the software industry but also in familiar scenarios in physical and biological science, engineering, and appli......一起来看看 《Introduction to Programming in Java》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具