//
//  AiDaAlertView.h
//  Open
//
//  Created by 雷俊博 on 2020/3/4.
//  Copyright © 2020 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AiDaHeader.h"

NS_ASSUME_NONNULL_BEGIN



typedef void(^ AiDaMessageClickBlcok)(BOOL success);
@interface AiDaAlertView : UIView

@property (nonatomic, strong)UIView*maskView;


@property (nonatomic, copy)AiDaMessageClickBlcok block;

- (instancetype)init;

-(void)showWithViewController:(UIViewController *)viewController;
- (void)showFront;


+(UIView *)showAlertViewWithTitle:(NSString*)name imageName:(NSString *)imageName ViewController:(UIViewController *)viewController type:(AiDaAlertViewType)type block:(AiDaMessageClickBlcok)block;

@end

NS_ASSUME_NONNULL_END
