RootViewController with iAds and AdMob support for Cocos2d
Switch branches/tags
Nothing to show
Pull request Compare This branch is 24 commits behind jandrad:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AdMob
Classes
Resources
iAdsTest.xcodeproj
libs
LICENSE.cocos2d
LICENSE.cocosdenshion
README
iAdsTest_Prefix.pch
main.m

README

RootViewController with iAds and AdMob support for Cocos2d

Usage:

Replace the RootViewController in the Cocos2d project with the AdRootViewController.

To add the ad to the controller's view call [viewController addBannerAd];

To remove the ad call [viewController removeBannerAd];

You can set the position of the ad at the Top or Bottom of the Screen, just call [viewController setAdBannerPosition:kAdBannerPositionBottom] or [viewController setAdBannerPosition:kAdBannerPositionTop]

The controller rotates the ad automatically using CCDirector autorotation or UIViewController's.

Hope it helps, suggestions and corrections are always welcome.