Hello,
Thank you for the detailed explanation. I was able to load the Banner ads without any issues on an iPhone X simulator. It looks like an implementation issue specific to your use case. I'd suggest that you post your concern on other developer forums like StackOverflow, as we handle only SDK implementation issues on this forum.
Regards,
Bharani Cherukuri
Mobile Ads SDK Team.
On Wednesday, September 20, 2017 at 8:52:55 AM UTC-4, Saham Ghazavi wrote:
Hi
I just want the banner to stick to to the bottom of table and do no scroll with the table. Even if user searches using search controller and numberOfRows changes. So tableview.headerview or footer view doest not work. I followed this
https://stackoverflow.com/questions/37314204/how-to-stick-admob-banner-to-bottom-of-screen-swiftself.navigationController!.toolbarHidden = false
banner = GADBannerView(adSize: kGADAdSizeBanner)
banner.adUnitID = "ca-app-pub-YOurID"
banner.rootViewController = self
var request: GADRequest = GADRequest.request()
request.testDevices = [""]
banner.loadRequest(request)
self.navigationController.toolbar.addSubview(banner)
The magic is the last line and works on all devices except iPhoneX simulator on Xcode 9 and swift 4.
Any idea how to fix it?