func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
window = UIWindow(frame: UIScreen.mainScreen().bounds)
let navController = UINavigationController(rootViewController: ViewController())
AdFooter.shared.adMobAdUnitId = "ADMOB_AD_UNIT_ID"
window?.rootViewController = AdFooter.shared.wrap(navController)
window?.makeKeyAndVisible()
return true
}
To run the example project, clone the repo, and run pod install
from the Example directory first.
- AdMob's Ad unit ID
AdFooter is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "AdFooter"
tnantoka
https://github.com/chrisjp/CJPAdController
AdFooter is available under the MIT license. See the LICENSE file for more info.
GoogleMobileAds.framework
has its own license!