Skip to content

Commit 2392a7c

Browse files
tonychanchenoldcodefarmer
authored andcommitted
wifi+wechat+麦克风 权限合规
tapd:http://tapd.oa.com/NEW_IOT/prong/stories/view/1020393192868776255 Change-Id: Ic07117d4fcaf24db37497e2db3d9bc3e3b20578e
1 parent 24197b6 commit 2392a7c

File tree

10 files changed

+586
-12
lines changed

10 files changed

+586
-12
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
//
2+
// TIoTAlertAuthorsizeView.h
3+
// LinkApp
4+
//
5+
// Created by eagleychen on 2021/10/22.
6+
// Copyright © 2021 Tencent. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
#import "TIoTAlertCustomView.h"
11+
12+
NS_ASSUME_NONNULL_BEGIN
13+
14+
///弹框取消按钮block
15+
typedef void(^TIoTAlertCustomViewCancelBlock)(void);
16+
///弹框确定按钮block
17+
typedef void(^TIoTAlertCustomViewConfirmBlock)(NSString *timeString);
18+
///TIoTAlertCustomViewContentTypeText类型下,隐私政策点击跳转block
19+
typedef void(^TIoTAlertCustomViewPrivatePolicyBlock)(void);
20+
21+
@interface TIoTAlertAuthorsizeView : UIView
22+
23+
/// 取消按钮block
24+
@property (nonatomic, copy) TIoTAlertCustomViewCancelBlock cancelBlock;
25+
26+
/// 确认按钮block
27+
@property (nonatomic, copy) TIoTAlertCustomViewConfirmBlock confirmBlock;
28+
29+
/// 隐私政策跳转block
30+
@property (nonatomic, copy) TIoTAlertCustomViewPrivatePolicyBlock privatePolicyBlock;
31+
32+
33+
/// 设置弹框类型和消失手势
34+
/// @param contentType 弹框类型
35+
/// @param hideTap 隐藏弹框手势
36+
- (void)alertContentType:(TIoTAlertCustomViewContentType)contentType isAddHideGesture:(BOOL)hideTap;
37+
38+
/// 设置弹框内容
39+
/// @param titleString title 内容
40+
/// @param cancelTitle 取消按钮 内容
41+
/// @param confirmTitle 确认按钮 内容
42+
- (void)alertCustomViewTitleMessage:(NSString *)titleString message:(NSString *)message info:(NSString *)info cancelBtnTitle:(NSString *)cancelTitle confirmBtnTitle:(NSString *)confirmTitle;
43+
@end
44+
45+
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)