FWAlertPluginImpl
@interface FWAlertPluginImpl : NSObject <FWAlertPlugin>
默认弹窗插件
-
单例模式对象
Declaration
Objective-C
@property (class, nonatomic, readonly) FWAlertPluginImpl *_Nonnull sharedInstance; -
自定义Alert弹窗样式,nil时使用单例
Declaration
Objective-C
@property (nonatomic, strong, nullable) FWAlertAppearance *customAlertAppearance; -
自定义ActionSheet弹窗样式,nil时使用单例
Declaration
Objective-C
@property (nonatomic, strong, nullable) FWAlertAppearance *customSheetAppearance; -
自定义弹窗类数组,默认nil时查找UIAlertController|FWAlertController
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray<Class> *customAlertClasses; -
弹窗自定义句柄,show方法自动调用
Declaration
Objective-C
@property (nonatomic, copy, nullable) void (^) (UIAlertController *_Nonnull __strong) customBlock; -
默认close按钮文本句柄,alert单按钮或sheet单取消生效。未设置时为关闭
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *_Nullable (^) (UIAlertControllerStyle) defaultCloseButton; -
默认cancel按钮文本句柄,alert多按钮或sheet生效。未设置时为取消
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *_Nullable (^) (UIAlertControllerStyle) defaultCancelButton; -
默认confirm按钮文本句柄,alert多按钮生效。未设置时为确定
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *_Nullable (^)(void) defaultConfirmButton;
FWAlertPluginImpl Class Reference