UIAlertController(FWAlert)
@interface UIAlertController (FWAlert)
系统弹出框控制器分类,自定义样式
Note
系统弹出框title和message仅支持NSString,如果需要支持NSAttributedString等,请使用FWAlertController-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) FWAlertAppearance *fw_alertAppearance
-
Undocumented
Declaration
Objective-C
@property (nonatomic) FWAlertStyle fw_alertStyle
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSAttributedString *fw_attributedTitle
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSAttributedString *fw_attributedMessage
-
Undocumented
Declaration
Objective-C
+ (UIAlertController *)fw_alertControllerWithTitle:(nullable id)title message:(nullable id)message preferredStyle:(UIAlertControllerStyle)preferredStyle NS_REFINED_FOR_SWIFT;
-
Undocumented
Declaration
Objective-C
+ (UIAlertController *)fw_alertControllerWithTitle:(nullable id)title message:(nullable id)message preferredStyle:(UIAlertControllerStyle)preferredStyle appearance:(nullable FWAlertAppearance *)appearance NS_REFINED_FOR_SWIFT;