添加弹窗
This commit is contained in:
@@ -48,6 +48,15 @@ typedef void (^KBAlertTextHandler)(NSString * _Nullable text, BOOL ok);
|
||||
cancel:(nullable NSString *)cancelTitle
|
||||
completion:(KBAlertBoolHandler)completion;
|
||||
|
||||
/// 自定义“确定/取消”按钮颜色(为 nil 时使用系统默认)
|
||||
+ (void)confirmTitle:(nullable NSString *)title
|
||||
message:(nullable NSString *)message
|
||||
ok:(nullable NSString *)okTitle
|
||||
cancel:(nullable NSString *)cancelTitle
|
||||
okColor:(nullable UIColor *)okColor
|
||||
cancelColor:(nullable UIColor *)cancelColor
|
||||
completion:(KBAlertBoolHandler)completion;
|
||||
|
||||
#pragma mark - 输入框(单行)
|
||||
/// 带单个输入框;ok=YES 时返回输入内容。
|
||||
+ (void)promptTitle:(nullable NSString *)title
|
||||
@@ -72,4 +81,3 @@ typedef void (^KBAlertTextHandler)(NSString * _Nullable text, BOOL ok);
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user