GEQRCodeView 二维码扫描ViewController

程序名称:GEQRCodeView

授权协议: MIT

操作系统: iOS

开发语言: Objective-C

GEQRCodeView 介绍

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];

GEQRCodeView 官网

https://github.com/lerosua/GEQRCodeView

相关编程语言

Acapela TTS 是一个为 iPhone 和 iPad 开发的 TTS 引...
二维码(QR Code)扫描静态库,扫描效率较高。
RegexKitLite 是一个轻量级的 Objective-C 的正则表...
一款基于ASIHttpReques开源的仿迅雷多线程断点续传功...
实现动态检测网络(wifi)状况,不需要用户手动刷新...
使用iphoneSDK官方NSXMLParserDelegate做的简单xml解...