二维码、条码扫描
Block 回调
Info.plist 设置
Privacy - Camera Usage Description : 需要您的相机来扫描二维码
[ZXQRScanViewController startScanInViewController:self asPush:true autoDismiss:true callBack:^(NSString *result) {
[_txtvResult setText:result];
}];
IMG1 | IMG2 |
---|---|