2
0

QQLBXScanViewController.h 1022 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // SubLBXScanViewController.h
  3. //
  4. // github:https://github.com/MxABC/LBXScan
  5. // Created by lbxia on 15/10/21.
  6. // Copyright © 2015年 lbxia. All rights reserved.
  7. //
  8. #import "LBXAlertAction.h"
  9. #import "LBXScanViewController.h"
  10. #pragma mark -模仿qq界面
  11. //继承LBXScanViewController,在界面上绘制想要的按钮,提示语等
  12. @interface QQLBXScanViewController : LBXScanViewController
  13. /**
  14. @brief 扫码区域上方提示文字
  15. */
  16. @property (nonatomic, strong) UILabel *topTitle;
  17. #pragma mark --增加拉近/远视频界面
  18. @property (nonatomic, assign) BOOL isVideoZoom;
  19. #pragma mark - 底部几个功能:开启闪光灯、相册、我的二维码
  20. //底部显示的功能项
  21. @property (nonatomic, strong) UIView *bottomItemsView;
  22. //相册
  23. @property (nonatomic, strong) UIButton *btnPhoto;
  24. //闪光灯
  25. @property (nonatomic, strong) UIButton *btnFlash;
  26. //我的二维码
  27. @property (nonatomic, strong) UIButton *btnMyQR;
  28. @property (nonatomic, copy)void (^scanResult)(NSString *strScanned);
  29. @end