LBXScan
LBXScan copied to clipboard
集成 报错
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
需要pch添加对应的宏,建议使用最新demo中的native,Zxing,Zbar 控制器代码,最新2.4版本分开了,2.4之前的版本是3个库在一个控制器里面,需要使用宏来控制