I am trying to get the ADBannerbottom UITabBarController / float above UITabBarControlleras I use. PFQueryTableViewControllerI get ADBanner as part TableViewCell, and ADBanner scrolls like a table. And since I use PFQueryTableViewController, I cannot add a view to my table. as it scrolls. The following code I use inside the methodviewDidLoad
let bannerView: GADBannerView = GADBannerView(adSize:kGADAdSizeSmartBannerPortrait)
bannerView.frame.origin = CGPointMake(0, self.view.frame.size.height - 49 - 50)
bannerView.adUnitID = "ca-app-pub-5819113245629378/9884937047"
bannerView.rootViewController = self
self.view.addSubview(bannerView)
bannerView.loadRequest(GADRequest())

Update. This is how I add the container.

Now the View container does not display

source
share