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
1 answer
views constrained to banner view jump suddenly instead of slowly animating
I am trying to animate banner view from the bottom to the screen using constraints. the button is attached to the bannerview and it should always be at the same distance from banner. This is what I get: https://vid.me/F008
As you can see the button…

potato
- 4,479
- 7
- 42
- 99
1
vote
1 answer
How to stop an ad banner resizing the frame in Swift
I have almost completed a game for IOS in Swift and am having an issue with my banner. I managed to find some code to stop it resizing the view frame, but now it seems to resize completely randomly; sometimes not resizing (as desired) sometimes…

James Stephen Brown
- 299
- 5
- 17
1
vote
1 answer
ADBannerView constraints not working so ad jumps around on the screen
I added constraints to an adbannerview so that it is locked to the top of the screen. It is also constrained to be centered horizontally. The three small constraints at the bottom are just for spacing.
For some reason the ad jumps around on the…

blirian101
- 11
- 2
1
vote
0 answers
ADBannerView no internet connection error
I've integrated iAd in my application. It works when I have an internet connection, but if I have no internet connection the ADBannerView repeats the same error message infinitely.
func addiAd()
{
iAdBanner.frame = CGRectMake(0, 400 320 50
…

sem sur
- 21
- 3
1
vote
0 answers
swift iad banner not working
my iad banner can't work. my project use objective c + swift.
always error message : ADBannerView: Unhandled error (no delegate or delegate does not implement didFailToReceiveAdWithError:): Error Domain=ADErrorDomain Code=7 "The operation couldn’t…

sem sur
- 21
- 3
1
vote
0 answers
Wrong Width For iAd-Bannerview
I'm currently having problems with my ADBannerView. I tested the program on a 4.7-inch display, but the bannerview doesn't have the same width as the screen. I've already tried to change it programmatically and also in the storyboard, but that…

Alan
- 40
- 6
1
vote
0 answers
iAd banner changes the frame.size of my SKScene
The first time a user clicks on an iAd banner, it displays correctly and then go back to my game.
The second click actually makes the ad behave as if it was in landscape mode:
So the right side of the view is aligned to the real right side of the…

Myoch
- 793
- 1
- 6
- 24
1
vote
1 answer
ADBannerView below UITableViewController
I want to integrate the iAd banner below a tableView in a UItableViewController. the goal is to resize the tableview and add to the bottom of the UIViewController, a UITableViewController in this case. I started considering that the adBannerView is…

tylyo
- 572
- 5
- 16
1
vote
1 answer
How to add two GADBanners Ads on one viewcontroller for iphone?
I need to add two GADBannerView on one screen. How to identify which banner is for top and bottom. Is there any specific slots. I am very new to google mobile ads.

Vinay Podili
- 335
- 1
- 3
- 16
1
vote
0 answers
Did I implement iAd shared banner wrongly?
Besides, adding the iAd and AdMob code to get banner to appear on screen, is the following code the correct way to set up a shared banner?
In AppDelegate.h
@import GoogleMobileAds;
#import
#import
#import…

Jet
- 555
- 1
- 7
- 19
1
vote
1 answer
iAd Reconfigures Screen: Need iAd to Appear in Front of Screen - Swift
I have successfully implemented iAd in Swift, except when an ad appears, it reconfigures the dimensions of self. How do I make it such that the ad appears in front of the screen, and doesn't alter the size of the screen?
This is the code I…

tdh
- 884
- 1
- 11
- 22
1
vote
1 answer
Cannot seem to move iAd banner to the top of the screen with this code
I have searched and searched and have done lots of trial and error on this code trying to move the ad banner to the top of the screen. It has been a week already with no progress. If anyone could help me out with this issue I would be thrilled. The…

DwemerTech
- 11
- 3
1
vote
1 answer
How to create a portrait iAd banner view for iPhone/iPad
In Apple iAd programming guide, in the apple developer library with a date of 9/17/14, I'm looking to make that when user clicks on iAd banner and game is in Portrait mode, that the banner shows in portrait mode and not landscape like i'm currently…
user4316763
1
vote
1 answer
iPad portrait app loads iAd in Landscape mode
I have a universal device app with Device Orientation in Portrait and Upside Down. For iPad Storyboard I clicked orientation to be Portrait as well. When I click on the iAd in iPad simulator, the app flips to landscape mode. When I close the iAd,…
user4316763
1
vote
0 answers
Touching iAd banner affects UIImageView movement
iAd works fine itself. When i click on iAd it loads a full screen ad. Then when i click out of iAd. and click on my start game button, the UIImageView in the game moves by itself in the direction depending on which side of the ad I clicked on. Don't…
user4316763