TuSDKICAlertView Class Reference
Inherits from | NSObject |
---|---|
Declared in | TuSDKICAlertView.h |
+ alertShowWithController:message:
显示提示信息视图 (对话框样式)
+ (void)alertShowWithController:(nullable UIViewController *)controller message:(nullable NSString *)message
Parameters
controller |
控制器 |
---|---|
message |
信息 |
Declared In
TuSDKICAlertView.h
+ alertShowWithController:title:message:
显示提示信息视图 (对话框样式)
+ (void)alertShowWithController:(nullable UIViewController *)controller title:(nullable NSString *)title message:(nullable NSString *)message
Parameters
controller |
控制器 |
---|---|
title |
标题 |
message |
信息 |
Declared In
TuSDKICAlertView.h
+ alertShowWithController:message:cancelTitle:
显示提示信息视图 (对话框样式)
+ (void)alertShowWithController:(nullable UIViewController *)controller message:(nullable NSString *)message cancelTitle:(nullable NSString *)cancelTitle
Parameters
controller |
控制器 |
---|---|
message |
信息 |
cancelTitle |
取消按钮文字 |
Declared In
TuSDKICAlertView.h
+ alertShowWithController:title:message:cancelTitle:
显示提示信息视图 (对话框样式)
+ (void)alertShowWithController:(nullable UIViewController *)controller title:(nullable NSString *)title message:(nullable NSString *)message cancelTitle:(nullable NSString *)cancelTitle
Parameters
controller |
控制器 |
---|---|
title |
标题 |
message |
信息 |
cancelTitle |
取消按钮文字 |
Declared In
TuSDKICAlertView.h
+ alertShowConfigWithController:title:message:
显示提示信息视图 (对话框样式,大于等于IOS7时显示系统设置按钮)
+ (void)alertShowConfigWithController:(nullable UIViewController *)controller title:(nullable NSString *)title message:(nullable NSString *)message
Parameters
controller |
控制器 |
---|---|
title |
标题 |
message |
信息 |
Declared In
TuSDKICAlertView.h
+ alertWithController:title:message:
提示信息视图 (对话框样式)
+ (instancetype)alertWithController:(nullable UIViewController *)controller title:(nullable NSString *)title message:(nullable NSString *)message
Parameters
controller |
控制器 |
---|---|
title |
标题 |
message |
信息 |
Return Value
message 提示信息视图
Declared In
TuSDKICAlertView.h
+ actionSheetWithController:title:message:
提示信息视图 (下拉样式)
+ (instancetype)actionSheetWithController:(nullable UIViewController *)controller title:(nullable NSString *)title message:(nullable NSString *)message
Parameters
controller |
控制器 |
---|---|
title |
标题 |
message |
信息 |
Return Value
message 提示信息视图
Declared In
TuSDKICAlertView.h
– addAction:
添加提示信息动作
- (void)addAction:(TuSDKICAlertAction *)action
Parameters
action |
提示信息动作 |
---|
Declared In
TuSDKICAlertView.h
actions
提示信息动作列表
@property (nonatomic, readonly) NSArray<TuSDKICAlertAction*> *actions
Declared In
TuSDKICAlertView.h
preferredStyle
提示信息样式
@property (nonatomic, readonly) TuSDKICAlertStyle preferredStyle
Declared In
TuSDKICAlertView.h