单军华
2017-07-12 20d1260d26b028897f3c0935c12fc35aa37b2e93
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
43
44
45
46
47
//
//  ScanQRViewController.h
//  ScanHelperDemo
//
//  Created by zhengrui on 17/2/14.
//  Copyright © 2017年 zhengrui. All rights reserved.
//
 
#import "LBXAlertAction.h"
#import "LBXScanViewController.h"
 
 
@protocol ScanQRResultDelegate <NSObject>
 
@optional
 
- (void)returnScanQRResult:(id)sender scanCode:(NSString *)code;
 
@end
 
@interface ScanQRViewController : LBXScanViewController
#pragma mark -模仿qq界面
 
@property (nonatomic, assign) BOOL isQQSimulator;
 
@property(nonatomic, assign)id<ScanQRResultDelegate>     delegate;
 
/**
 @brief  扫码区域上方提示文字
 */
@property (nonatomic, strong) UILabel *topTitle;
 
#pragma mark --增加拉近/远视频界面
@property (nonatomic, assign) BOOL isVideoZoom;
 
#pragma mark - 底部几个功能:开启闪光灯、相册、我的二维码
//底部显示的功能项
@property (nonatomic, strong) UIView *bottomItemsView;
//相册
//@property (nonatomic, strong) UIButton *btnPhoto;
//闪光灯
//@property (nonatomic, strong) UIButton *btnFlash;
//我的二维码
//@property (nonatomic, strong) UIButton *btnMyQR;
 
@property (nonatomic, copy) void(^QRResultBlock)(id result);
@end