12345678910111213141516171819202122232425262728 |
- //
- // errorAlertTool.h
- // 双子星云手机
- //
- // Created by xd h on 2024/7/20.
- //
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- /**
- *
- */
- typedef void (^errorAlert_DidClickButFun) (NSInteger tag); // 1 2 3 //表示点击弹框按钮的 index
- @interface errorAlertTool : NSObject
- + (instancetype)shareInstance;
- #pragma mark 网络异常弹框
- -(void)showNetErrorAlertFun:(NSInteger)type didClickBut:(errorAlert_DidClickButFun)didClickBut;
- #pragma mark 网络异常弹框 消失
- - (void)dismissErrorAlertFun;
- @end
- NS_ASSUME_NONNULL_END
|