//
//  MyAdViewController.h
//  Open
//
//  Created by 雷俊博 on 2019/10/17.
//  Copyright © 2019 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class MyAdViewController;
@protocol MYAdClickDelegate <NSObject>

/**
开屏展现
*/
- (void)MyAd_show:(MyAdViewController *)vc;
/**
开屏点击
*/
- (void)MyAd_Click:(NSDictionary *)dic vc:(MyAdViewController *)vc;

/**
开屏消失
*/
- (void)MyAd_DismissWithVC:(MyAdViewController *)vc;;
/**
开屏请求失败
*/
- (void)MyAd_Fail:(MyAdViewController *)vc;


@end

@interface MyAdViewController : UIViewController

@property (nonatomic, weak)id<MYAdClickDelegate>delegate;


@property (nonatomic, strong)UIImageView *imgView;

- (void)loadMyAd;

- (void) show;

@end

NS_ASSUME_NONNULL_END
