//
|
// 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
|