Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An intersticial handler to display Revmob and Chartboost ads.
Objective-C
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Fullscreen ads Demo
Resources
BRFullScreenAd.h
BRFullScreenAd.m
README.md
screenshot1.png
screenshot2.png
screenshot3.png

README.md

Fullscreen ad handler for Chartboost and RevMob

BRFullScreenAd will allow you to easily present Chartboost and Revmob interstitial ads inside you application.

The Revmob ads are some custom interstitials. I don't use Revmob original one cause the close button is to small and users don't like to be redirect by error to the AppStore.

The Chartboost's one are provided by Chartboost without modification.

It's the same class I use in my apps.

Screen shots

Chartboost ad
Chartboost

Revmob custom interstitial in landscape
Revmob

Revmob custom interstitial in portrait
Revmob

Compatibility

Needs iOS 5 or 6 (probably iOS 4.3 to). Compatible with all iDevices.

Linked frameworks

Add the following frameworks and libs to your project :
* QuartzCore.framework
* AdSupport.framework (Optional)
* StoreKit.framework (Optional)
* SystemConfiguration.framework
* RevMobAds.framework
* libChartboost.a (add all *.h files from the Chartboost lib)

Code

//Init ads networks
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    //BRFullscreenAd config : Must be called first
    [BRFullScreenAd startRevMobSessionWithAppID:@"REV_MOB_APP_ID"];
    [BRFullScreenAd startChartboostSessionWithAppId:@"CHARTBOOST_APP_ID"
                                    andAppSignature:@"CHARTBOOST_APP_SIGNATURE"];
    //End

    [...]

    return YES;
}

//Fire ad
- (void)applicationDidBecomeActive:(UIApplication *)application
{
    [BRFullScreenAd presentAd];

}

License

BSD License

Copyright (c) 2012-2013 René BIGOT

Something went wrong with that request. Please try again.