LBXScan icon indicating copy to clipboard operation
LBXScan copied to clipboard

集成 报错

Open Qson8 opened this issue 5 years ago • 1 comments

pod 'LBXScan', '~> 2.4'

LBXScanViewController.h 第27行

#ifdef LBXScan_Define_ZBar
#import "ZBarSDK.h"
#import "LBXZBarWrapper.h"//ZBar扫码封装
#endif

LBXScanViewController.h 第130行

#ifdef LBXScan_Define_ZBar
/**
 ZBar扫码对象
 */
@property (nonatomic, strong) LBXZBarWrapper *zbarObj;

#endif

Qson8 avatar Aug 05 '20 09:08 Qson8

需要pch添加对应的宏,建议使用最新demo中的native,Zxing,Zbar 控制器代码,最新2.4版本分开了,2.4之前的版本是3个库在一个控制器里面,需要使用宏来控制

MxABC avatar Aug 31 '20 00:08 MxABC