TuSDKICAlertAction Class Reference
Inherits from | NSObject |
---|---|
Declared in | TuSDKICAlertView.h |
+ actionWithTitle:handler:
提示信息动作 (默认)
+ (instancetype)actionWithTitle:(nullable NSString *)title handler:(nullable TuSDKICAlertActionHandler)handler
Parameters
title |
标题 |
---|---|
handler |
提示信息动作委托 |
Return Value
action 提示信息动作
Declared In
TuSDKICAlertView.h
+ actionCancelWithTitle:handler:
提示信息动作 (取消)
+ (instancetype)actionCancelWithTitle:(nullable NSString *)title handler:(nullable TuSDKICAlertActionHandler)handler
Parameters
title |
标题 |
---|---|
handler |
提示信息动作委托 |
Return Value
action 提示信息动作
Declared In
TuSDKICAlertView.h
+ actionDestructiveWithTitle:handler:
提示信息动作 (强调)
+ (instancetype)actionDestructiveWithTitle:(nullable NSString *)title handler:(nullable TuSDKICAlertActionHandler)handler
Parameters
title |
标题 |
---|---|
handler |
提示信息动作委托 |
Return Value
action 提示信息动作
Declared In
TuSDKICAlertView.h
+ actionWithTitle:style:handler:
提示信息动作
+ (instancetype)actionWithTitle:(nullable NSString *)title style:(TuSDKICAlertActionStyle)style handler:(nullable TuSDKICAlertActionHandler)handler
Parameters
title |
标题 |
---|---|
style |
提示信息动作样式 |
handler |
提示信息动作委托 |
Return Value
action 提示信息动作
Declared In
TuSDKICAlertView.h
style
提示信息动作样式
@property (nonatomic, readonly) TuSDKICAlertActionStyle style
Declared In
TuSDKICAlertView.h