ZCQrCodeScanViewController.h 962 Bytes
Newer Older
zhukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
//
//  ZCQrCodeViewController.h
//  UniversalApp
//
//  Created by 凯朱 on 2019/6/25.
//  Copyright © 2019 徐阳. All rights reserved.
//

#import "LBXScanViewController.h"
@class ZCQrCodeScanViewController;
/**
 ZCQrCodeScanViewController
 */
@protocol ZCQrCodeScanViewControllerDelegate <NSObject>

/**
 扫码回调

 @param isSuccess 是否识别成功
 @param message 识别提示信息
 @param qrCodeStr 二维码值
 @param scanVC 二维码扫描界面
 */
-(void)zcQrCodeScanViewControllerScanFinish:(BOOL)isSuccess message:(NSString *)message qrCodeStr:(NSString *)qrCodeStr scanVC:(ZCQrCodeScanViewController *)scanVC;

@end



@interface ZCQrCodeScanViewController : LBXScanViewController
@property(nonatomic, weak) id<ZCQrCodeScanViewControllerDelegate> delegate;

/**携带值*/
@property (nonatomic, strong)id value;

/**
 重写导航栏标题 - 自定义文字大小
 */
-(void)setTitle:(NSString *)title fontSize:(NSInteger)fontSize;

@end