Questions tagged [adbannerview]

The ADBannerView class provides a view that displays banner advertisements to the user. When the user taps on a banner view, the view triggers an action programmed into the advertisement. For example, an advertisement might show a movie, present an additional modal advertisement, or launch Safari to show a web page. Other actions are possible.

224 questions
1
vote
1 answer

TabBarController - switch tab keeping banner view;

I have a TabBarController with four view controllers . In my first view controller i have the following two methods: -(void)loadclistview { [self.tabBarController setSelectedIndex:2]; } -(void)loadglistview { [self.tabBarController…
s.calin
  • 83
  • 1
  • 9
1
vote
1 answer

Objective C: ADBannerView Change Size and Position

I am trying to implement iAd Banners for my app but i can't seem to do it properly. I am trying to put an ADBannerView in portrait size on my App that is only appearing on landscape but i don't know how to position it right in the center. Or is…
SeongHo
  • 1,040
  • 2
  • 15
  • 39
1
vote
1 answer

Programmatically hiding Apple iAd ADBannerView

I'd like to occasionally hide an ADBannerView. I'm thinking about banner.hidden = YES and similar to un-hide. I'm concerned that Apple will frown upon this because receiving and "displaying" ads while the banner is hidden seems questionable. In…
SundayMonday
  • 19,147
  • 29
  • 100
  • 154
1
vote
1 answer

IAd bannerViewActionDidFinish: didn't execute after the test running view confirmation was closed

I am trying to put an iad banner on my free version app, the banner runs smoothly when pressed and the view confirmation that the test ads are running correctly. But then when i closed that view my application was stocked, i can pressed the buttons…
Herin
  • 11
  • 4
0
votes
0 answers

ADBannerView is empty in Landscape mode

I've just started encorporating ADBannerView into my application and everything works as I expected it, within exception of when flipping Simulator (or iPhone) to landscape view, the ad view is white space. When I flip it back to portrait mode, its…
Leo L
  • 59
  • 2
0
votes
1 answer

ADBannerView Warning Message

I am using AdBannerView and I see the following message in the Application Output window while debugging my app. ADBannerView: WARNING A banner view (0x98c0c40) has an ad but may be obscured. This message is only printed once per banner view. I…
nabeelfarid
  • 4,156
  • 5
  • 42
  • 60
0
votes
2 answers

why the addview doesn't fit in the width

I want to display addview to the bottom of my screen, my app is universal so I use this code in viewdidload if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { if (orientation == UIDeviceOrientationPortrait ||…
AMH
  • 6,363
  • 27
  • 84
  • 135
0
votes
1 answer

Banner Google AdMob is Not Working in Swift

I am using Google AdMob banner in my app. I created a dummy project and implemented the banner functions there and it is working fine there but when I used it in my actual application, it is giving me error. The error…
Taimoor Arif
  • 750
  • 3
  • 19
0
votes
1 answer

Value of isBannerLoaded Property of a ADBannerView

who is the responsible for setting the value of isBannerLoaded Property of a ADBannerView
Piyush
  • 244
  • 1
  • 2
  • 8
0
votes
1 answer

set google ad bannerview to tabbr controller but when i push to detail view than still ads showing

i am adding GoogleMobileAds in Swift project and i have done all the steps successfully which is provided in doc and ads are showing in my app just issue is that when i push to other ViewController than ads banner view still show on top of…
posah
  • 1
  • 2
0
votes
0 answers

Ad Banner appears under toolbar on certain ViewControllers

On certain viewcontrollers, my ad banner will appear above my tooldbar (which I want). However, on other viewcontrollers, it appears under the toolbar; hidden. All the code is the same for the different swift files. How do I go about putting the ad…
beans217
  • 139
  • 2
  • 11
0
votes
1 answer

iOS -How to Add GADBannerView to UICollectionReusableView

I'm adding my bannerView inside a collectionView header. It won't let me set the bannerView.rootViewController as self to the headerView because it's not a UIViewController. I can always implement the required properties inside the viewController…
Lance Samaria
  • 17,576
  • 18
  • 108
  • 256
0
votes
2 answers

Admob banner is invisible but still clickable in Unity

I'm working on an app that displays a banner depending on the scene. I use Show and Hide to control this behavior. It works perfectly the first time that the banner is shown, but the second (after being hidden) the banner does not appear. However,…
Guillem Poy
  • 391
  • 5
  • 18
0
votes
1 answer

AdView Banner inside Tabbed Activity

I'm trying to show banner ad inside Linear Layout activity that has tabs(which are fragments). But whatever I try, the ad banner doesn't show up. Here is my code: XML: activity_hometopnav.xml
0
votes
1 answer

DFP BannerAd Issue

I am using DFP Banner Ad with my iOS application But unable to display DFP Banner Ad with example Ad.Unit.ID = "/6499/example/banner" following is the source code self.detail_dfp_bannerview.delegate = self; self.detail_dfp_bannerview.adUnitID =…
hitesh landge
  • 362
  • 4
  • 14