I've been trying to integrate adMob banner ads in my app and everything works fine till i add a uinavigationcontroller. the test ads don't show anymore. The only view controllers on the story board are a uiviewcontroller and a navigation view controller.
Based on : https://developers.google.com/admob/ios/quick-start
//ViewController.swift
override func viewDidLoad() {
super.viewDidLoad()
println("Google Mobile Ads SDK version: " + GADRequest.sdkVersion())
bannerView.adUnitID = "ca-app-pub-3940256099942544/2934735716"
bannerView.rootViewController = self
bannerView.loadRequest(GADRequest())
}
I am using xCode7 with swift