ss
Aeline
2020-09-26 6d8742046f04db48591ace087c35cca0228ae009
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
//  PangleNativeInterstitialView.h
//  BUDemo
//
//  Created by bytedance on 2020/4/24.
//  Copyright © 2020 bytedance. All rights reserved.
//
 
#import <UIKit/UIKit.h>
#import <BUAdSDK/BUNativeAd.h>
 
NS_ASSUME_NONNULL_BEGIN
 
@protocol PangleNativeInterstitialViewDelegate <NSObject>
 
- (void)nativeInterstitialAdWillClose:(BUNativeAd *)nativeAd;
- (void)nativeInterstitialAdDidClose:(BUNativeAd *)nativeAd;
 
@end
 
@interface PangleNativeInterstitialView : UIViewController
 
@property (nonatomic, getter=isAdValid, readonly) BOOL adValid;
 
- (void)refreshUIWithAd:(BUNativeAd *_Nonnull)nativeAd;
- (BOOL)showAdFromRootViewController:(UIViewController *)rootViewController delegate:(id <PangleNativeInterstitialViewDelegate>)delegate;
@end
 
NS_ASSUME_NONNULL_END