Skip to content

Instantly share code, notes, and snippets.

@revmob-sdk
Created June 4, 2012 20:59
Show Gist options
  • Save revmob-sdk/2870832 to your computer and use it in GitHub Desktop.
Save revmob-sdk/2870832 to your computer and use it in GitHub Desktop.
RevMob iOS SDK
#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