二维码扫描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://www.codercto.com/soft/d/10758.html

Principles of Object-Oriented JavaScript

Principles of Object-Oriented JavaScript

Nicholas C. Zakas / No Starch Press / 2014-2 / USD 24.95

If you've used a more traditional object-oriented language, such as C++ or Java, JavaScript probably doesn't seem object-oriented at all. It has no concept of classes, and you don't even need to defin......一起来看看 《Principles of Object-Oriented JavaScript》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具