Skip to content

Show iAd and Admob on your footer, written in Swift.

License

Notifications You must be signed in to change notification settings

holzleitner/AdFooter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdFooter

Version License Platform

Usage

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.

Requirements

  • AdMob's Ad unit ID

Installation

AdFooter is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "AdFooter"

Author

tnantoka

Acknowledgement

https://github.com/chrisjp/CJPAdController

License

AdFooter is available under the MIT license. See the LICENSE file for more info. GoogleMobileAds.framework has its own license!

About

Show iAd and Admob on your footer, written in Swift.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 87.9%
  • Swift 9.1%
  • Ruby 1.9%
  • C 1.1%