二维码扫描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

更快速网站

更快速网站

Steve Souders / 2009年12月 / 42.00元

对于任何成功的网站来说,性能是至关重要的。但伴随着不断增长的丰富内容和Ajax的过度使用,如今的Web应用已经将浏览器推至性能极限。在本书中,Google的Web性能专家和前任雅虎首席网站性能官Steve Souders提供了宝贵的技术,来帮助你优化网站性能。 作者的上一本书是非常畅销的《High Performance Web Sites》,它透露了80%的网页加载时间是花在客户端,使网络......一起来看看 《更快速网站》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具