-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIADViewController.h
More file actions
37 lines (27 loc) · 812 Bytes
/
Copy pathIADViewController.h
File metadata and controls
37 lines (27 loc) · 812 Bytes
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
30
31
32
33
34
35
36
37
//
// IADViewController.h
// DDayReminder
//
// Created by 모근원 on 12. 5. 16..
// Copyright (c) 2012년 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <iAd/iAd.h>
@protocol IADViewControllerDelegate;
@interface IADViewController : UIViewController <ADBannerViewDelegate>{
ADBannerView *currentIADView;
BOOL launchedAD;
}
@property (nonatomic, assign) id<IADViewControllerDelegate> delegate;
@property (nonatomic, strong) ADBannerView *currentIADView;
-(id)initWithRootViewController:(UIViewController*)_rootViewCont withCustomRootFrame:(CGRect)_cFrame;;
-(BOOL)isADShow;
@end
@protocol IADViewControllerDelegate <NSObject>
@optional
-(void)iADReceiveSuccess;
-(void)iADReceiveFail;
-(void)iADWillOpen;
-(void)iADWillClose;
-(void)iADDidClose;
@end