RAQRCodeScannerViewController.h 756 B

12345678910111213141516171819202122232425262728
  1. //
  2. // RAQRCodeScannerViewController.h
  3. // Apex And Drivers
  4. //
  5. // Created by Jack on 2018/6/5.
  6. // Copyright © 2018年 USAI. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef enum {
  10. RAScanTypeBarcode = 0 ,
  11. RAScanTypeQRCode = 1,
  12. RAScanTypeAll = 2
  13. } RAScanType;
  14. @interface RAQRCodeScannerViewController : UIViewController
  15. @property (nonatomic,copy) void (^QRCodeViewControllerDidCompletion)(RAQRCodeScannerViewController *qrcodeViewController, NSString *value);///< 需要在Block中返回
  16. @property (nonatomic,copy) void (^QRCodeViewControllerDidCanceled)(RAQRCodeScannerViewController *qrcodeViewController);///< 需要在Block中返回
  17. + (instancetype)viewControllerFromStoryboard;
  18. @property RAScanType scanType;
  19. @end