添加弹窗

This commit is contained in:
2025-11-10 15:55:36 +08:00
parent 1cdc17b710
commit 9f4110b24a
5 changed files with 53 additions and 8 deletions

View File

@@ -20,10 +20,14 @@ NS_ASSUME_NONNULL_BEGIN
/// 配置标题与是否显示垃圾桶
- (void)configWithTitle:(NSString *)title showTrash:(BOOL)showTrash;
/// 清除按钮点击回调
/// 清除按钮点击回调(用户在弹窗中点击“确定”后触发)
@property (nonatomic, copy) void(^onTapTrash)(void);
/// “确定”按钮颜色(默认黑色)
@property (nonatomic, strong, nullable) UIColor *confirmColor;
/// “取消”按钮颜色(默认黑色)
@property (nonatomic, strong, nullable) UIColor *cancelColor;
@end
NS_ASSUME_NONNULL_END