phizclip-ios-demo/FinDemo/功能演示/1.打开小程序/2.扫码打开小程序/FinQRCodeScanViewController.h

36 lines
679 B
Objective-C
Raw Normal View History

2023-05-31 11:00:11 +08:00
//
// FinQRCodeScanViewController.h
// FinDemo
//
// Created by 胡健辉 on 2023/5/30.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef void(^ScanCompletion)(NSString *qrcode);
@interface FinQRCodeScanViewController : UIViewController
@property (nonatomic, copy) ScanCompletion scanCompletion;
@end
@interface FinQRScanView : UIView
@property (nonatomic, assign) CGFloat scanner_width;
@property (nonatomic, assign) CGFloat scanner_x;
@property (nonatomic, assign) CGFloat scanner_y;
- (void)p_startScannerLineAnimation;
- (void)p_pauseScannerLineAnimation;
- (void)p_addActivityIndicator;
- (void)p_removeActivityIndicator;
@end
NS_ASSUME_NONNULL_END