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.
Questions tagged [adbannerview]
224 questions
1
vote
2 answers
AdMob: is it allowed to setVisibility(GONE) to banners for specific views?
I have a fragment with a ViewPager. I am showing an AdMob banner of the bottom of the fragment.
For a specific page I would like not to show the banner, as I want to use the whole screen space to display the information.
Is it allowed to…

Daniele B
- 19,801
- 29
- 115
- 173
1
vote
1 answer
Change properties for iAd view created using canDisplayBannerAds
On iOS 8 the iAd banner automatically created by using canDisplayBannerAd is displayed with a white background: that does not suit the app design at all. So I need to change it.
How to do it ?
Changing the background color property is easy but how…

Dominique Vial
- 3,729
- 2
- 25
- 45
1
vote
0 answers
Game shows iAd on iPad successfully, but not in final build submitted for review. Why?
Summary:
I implemented iAd in my game using the Unity built-in AdBannerView functionalities. The game successfully showed the iAd test ad on iPad when it's executed via xcode. However, the submitted game was rejected by Apple reviewers because of…

ExK
- 101
- 2
- 10
1
vote
1 answer
Xcode - iAd Error: The operation couldn’t be completed. Banner view is visible but does not have content
I added an AdBannerView in a Storyboard but if I run the app I get an error:
The operation couldn’t be completed. Banner view is visible but does not have content
the whole error:
[AppDeveloper] ADBannerView: Unhandled error (no delegate or…

Julian
- 15
- 3
1
vote
0 answers
Loading iAd banner from the top
I've managed to implement iAd into my app and the banner loads from the bottom, I'm unsure how to get it to load from the top instead. I've tried a number of things but I can't seem to crack it. Can anyone help please?
The code I have:
-…

mattFllr
- 233
- 7
- 23
1
vote
1 answer
iAd Banner is messing up scene in SpriteKit
I think I've looked through all the previous posts that are similar to this problem and couldn't find a solution so I hope someone can help me.
I've got a very simple game using SpriteKit. The game is in portrait mode only. When I view the game in…

user3357073
- 11
- 1
1
vote
0 answers
Can't Delete iAd BannerView on View Switch - Error
My program switches back and forth between two ViewControllers, each with an iAd BannerView from the Storyboard. If I switch back and forth about five times, I get the following error:
WARNING: More than 10 instances of ADBannerView or…

Alekxos
- 512
- 6
- 13
1
vote
1 answer
AdBannerView crashes app when it is clicked
I have an Ad on my app which, before when you clicked on it, would load up the standard test ad screen though recently when I have done this it come back with this error:
*** Assertion failure in NSDictionary…

Hive7
- 3,599
- 2
- 22
- 38
1
vote
2 answers
UIView Will Not Resize
My storyboard elements are subviews of containerView and containerView is a subview of the main view. I am trying to resize the height of my container view when an ad is available to show but I cannot get that to work. I am able to offset the view…

user2954945
- 121
- 9
1
vote
2 answers
How do you get an ADBannerView's rendered width in iOS 7?
I'm trying to get the rendered width of an ADBannerView but it always seems to be the same as my UIScreen's mainScreen's width:
adBannerView = [[ADBannerView alloc] init];
[self.navController.view addSubview:adBannerView];
NSLog(@"Banner's width:…

Alexandru
- 12,264
- 17
- 113
- 208
1
vote
0 answers
iAd relocates SpriteKit scene with SKSceneScaleModeAspectFit
I am implementing iAd into a SpriteKit game. I was setting up the game for iPhone retina versions and the two iPad sizes. The software works fine with the SKSceneScaleModeAspectFit and displays everything nicely.
Once I have added the ad banner, the…

Endre Olah
- 875
- 2
- 9
- 25
1
vote
1 answer
Unity Adbannerview keeps calling
Okay so we are using the unity built in adbannerview. We use the basic code
private ADBannerView banner = null;
void Start()
{
banner = new ADBannerView(ADBannerView.Type.Banner, ADBannerView.Layout.Top);
ADBannerView.onBannerWasClicked +=…

Beastwood
- 446
- 3
- 19
1
vote
0 answers
iAd not appearing in modal view
I have a view controller that uses iAd banners. I have implemented iAds in this view just as I have in other working views.
When segueing to this view controller using PUSH, the iAd dispalys itself correctly. However, when segueing using MODAL, the…

Pheepster
- 6,045
- 6
- 41
- 75
1
vote
0 answers
AdMob Banner will not show on iOS 7
I'm trying to integrate AdMob into an app on iOS 7 and I can not seem to get the banner to show. I have read the other questions pertaining to this issue and they don't seem to have any good information. Here is the code I'm using:
AdMob =…

Slayter
- 1,172
- 1
- 13
- 26
1
vote
2 answers
iOS iAd Integration Issue With UIToolBar
I am trying to add iAd into my project. The view controller that i am trying to iAd into contains a UIWebView. A UIToolBar is also added at the bottom. Above the tool bar, i have dragged a ADBannerView inside my StoryBoard. This is how it looks…

AJ112
- 5,291
- 7
- 45
- 60