Latest 1.0.7
Homepage https://github.com/HJXIcon/JXQRScan
License MIT
Platforms ios 8.0, requires ARC
Authors

二维码扫描

支持pod

pod ‘JXQRScan’, ‘~> 1.0.0’

使用继承JXQRScanViewController的控制器

 JXQRScanStyle *style = [[JXQRScanStyle alloc]init];
//    style.isNeedShowRetangle = NO;
//    style.retanglePadding = 120;
    style.centerUpOffset = 104;
//    style.colorRetangleLine = [UIColor redColor];
//    style.colorAngle = [UIColor yellowColor];
//    style.angleH = 20;
//    style.angleW = 40;
//    style.angleLineW = 4;
//    style.anmiationStyle = JXQRScanAnimationStyleNet;
//    style.colorNotRecoginitonArea = [UIColor greenColor];

    CustomScanViewController *costomVc = [[CustomScanViewController alloc]init];

    costomVc.delegate = self;
    costomVc.style = style;
    [self.navigationController pushViewController:costomVc animated:YES];

或者直接使用JXQRScanViewController

//    JXQRScanViewController *vc = [[JXQRScanViewController alloc]init];
//    vc.delegate = self;
//    vc.style = style;
//    [self.navigationController pushViewController:vc animated:YES];

Latest podspec

{
    "name": "JXQRScan",
    "version": "1.0.7",
    "summary": "u4e8cu7ef4u7801u626bu63cf",
    "homepage": "https://github.com/HJXIcon/JXQRScan",
    "license": "MIT",
    "authors": {
        "HJXIcon": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/HJXIcon/JXQRScan.git",
        "tag": "1.0.7"
    },
    "source_files": "JXQRScan/JXQRScan/**/*.{h,m}",
    "resources": "JXQRScan/JXQRScan/JXQRScan.bundle",
    "requires_arc": true
}

Pin It on Pinterest

Share This