Skip to content

Instantly share code, notes, and snippets.

@chinnurtb
Forked from revmob-sdk/ButtonBasicUsage.h
Created October 11, 2013 06:30
Show Gist options
  • Select an option

  • Save chinnurtb/6930427 to your computer and use it in GitHub Desktop.

Select an option

Save chinnurtb/6930427 to your computer and use it in GitHub Desktop.
#import <RevMobAds/RevMobAds.h>
#import <RevMobAds/RevMobAdsDelegate.h>
@interface SampleAppViewController : UIViewController <RevMobAdsDelegate> {
}
@end
#import "AppDelegate.h"
@implementation AppDelegate
- (void)applicationDidBecomeActive:(UIApplication *)application {
[[RevMobAds session] hideBanner];
}
@end
#import <UIKit/UIKit.h>
#import <RevMobAds/RevMobAds.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate, RevMobAdsDelegate>
@end
#import "AppDelegate.h"
@implementation AppDelegate
- (void)applicationDidBecomeActive:(UIApplication *)application {
[[RevMobAds session] showBanner];
}
@end
#import <UIKit/UIKit.h>
#import <RevMobAds/RevMobAds.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate, RevMobAdsDelegate>
@end
#import "AppDelegate.h"
@implementation AppDelegate
- (void)applicationDidBecomeActive:(UIApplication *)application {
[[RevMobAds session] showFullscreen];
}
@end
#import <UIKit/UIKit.h>
#import <RevMobAds/RevMobAds.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate, RevMobAdsDelegate>
@end
#import "AppDelegate.h"
@implementation AppDelegate
- (void)applicationDidBecomeActive:(UIApplication *)application {
[[RevMobAds session] showPopup];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment