萤石云 iOSSDK,移植跨平台相关工程
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
//
//  HDLFVCreateTemPassView.h
//  Ezviz
//
//  Created by 陈启扬 on 2022/4/22.
//  Copyright © 2022 hdl. All rights reserved.
//
 
#import <UIKit/UIKit.h>
#import "HDLTopTitleInputView.h"
#import "HDLFVNormalCellView.h"
NS_ASSUME_NONNULL_BEGIN
 
typedef void (^HDLFVImageVBlock)(UIImage * image);
 
typedef enum {
    HDLFVTemPassType_Generate=0, //生成
    HDLFVTemPassType_Detail=1,//详情
}HDLFVTemPassType;
@interface HDLFVCreateTemPassView : UIView
@property(nonatomic,assign)HDLFVTemPassType temPassType;//临时密码类型
 
@property (nonatomic, strong)HDLTopTitleInputView *phoneInputV;//访客手机输入view
@property (nonatomic, strong)HDLTopTitleInputView *temPassInputV;//动态密码输入view
//@property (nonatomic, strong)HDLTopTitleInputView *useTimesInputV;//使用次数输入view
 
@property (nonatomic, strong)HDLFVNormalCellView *validTimeV;//生效时间view
@property (nonatomic, strong)HDLFVNormalCellView *expireTimeV;//失效时间view
 
@property (nonatomic, strong)UIImageView *QRCodeImageV;//二维码imageView
 
@property(nonatomic,strong)HDLFVImageVBlock clickQRCodeBlock; //点击二维码
@property(nonatomic,strong)HDLFVImageVBlock longTapQRCodeBlock; //长按二维码
 
@property(nonatomic,assign)BOOL isInvalid;//是否无效
 
/*展示二维码
 
 */
-(void)showQRCode:(BOOL)show;
@end
 
NS_ASSUME_NONNULL_END