萤石云 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
//
//  HDLEZAlertInputView.h
//  EZSDK
//
//  Created by 陈启扬 on 2023/3/16.
//
 
#import <UIKit/UIKit.h>
 
NS_ASSUME_NONNULL_BEGIN
typedef void (^HDLEZAlertInputViewSureBlock)(NSString* content);
typedef void (^HDLEZAlertInputViewCancleBlock)(void);
 
@interface HDLEZAlertInputView : UIView
 
/*展示输入弹窗
 @param title 标题
 @param cancleTitle 删除按钮标题
 @param sureTitle 确认按钮标题
 @param keyboardType 键盘类型
 @param cancle 取消回调
 @param sure 确认回调
 */
+(void)showInputAlertWithtitle:(NSString*)title cancleTitle:(NSString*)cancleTitle sureTitle:(NSString*)sureTitle keyboardType:(UIKeyboardType)keyboardType cancleBlock:(HDLEZAlertInputViewCancleBlock)cancle sureBlock:(HDLEZAlertInputViewSureBlock)sure;
 
/*展示输入弹窗
 @param view 展示的父view
 @param title 标题
 @param cancleTitle 删除按钮标题
 @param sureTitle 确认按钮标题
 @param keyboardType 键盘类型
 @param cancle 取消回调
 @param sure 确认回调
 */
+(void)showInputAlertToView:(UIView*)view title:(NSString*)title cancleTitle:(NSString*)cancleTitle sureTitle:(NSString*)sureTitle keyboardType:(UIKeyboardType)keyboardType cancleBlock:(HDLEZAlertInputViewCancleBlock)cancle sureBlock:(HDLEZAlertInputViewSureBlock)sure;
 
@end
 
NS_ASSUME_NONNULL_END