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
0
votes
1 answer
How to get a BannerAd at the bottom of the screen. Xcode 7.0.1
Hey This is the code I used for Xcode 6.4 but when I go to Xcode 7 there's an error. So at first I just deleted the ConstantsH and V. That got rid of the errors but then I look at the app and the banner is no longer at the bottom of the scree now…
user5349223
0
votes
0 answers
iOS8 App with iAds: Can each view controller enable canDisplayBannerAds?
I am creating an iOS8+ application and am ready to add iAd to it. At this time, I've set the following in viewDidLoad() for each UIViewController in my application:
self.canDisplayBannerAds = true
Everything seems to be working properly... Ads are…

A Bit of Help
- 1,368
- 19
- 36
0
votes
1 answer
iAd Banner hidden under MPMoviePlayerController
I have a view where I show a MPMoviePlayerController with the following code:
MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:url];
[[player view] setFrame:self.view.bounds];
[self.view addSubview: [player…

prelite
- 1,073
- 2
- 9
- 20
0
votes
2 answers
AutoLayOut - set UITableView height according to BannerView height
I am using adBanner in my application which is at bottom of the screen and I am using tableview in my application.
I have established "Horizontal spacing" relation between adBannerView and tableview. Now my problem is before loading the…

iPhone
- 4,092
- 3
- 34
- 58
0
votes
1 answer
banner layout xcode 6
I have this problem on all my apps, randomly when i start the app the banner will put all the items from this position:
To this position:
and all the items seem straslate up. Someone can help me to fix that bug? There are some code…

Luca Alberto
- 1,195
- 3
- 11
- 30
0
votes
1 answer
AdMob banner at bottom - Converting Linearlayout to RelativeLayout
I am pretty new to android. I am trying to add an admob banner at the bottom of an app, actually in two of the activities. I think Linearlayout is not the right way of doing it.
So please help me Convert Linearlayout to RelativeLayout.
Also while…

dejavu
- 1
- 4
0
votes
1 answer
My android banner ad not showing?
this my main activity xml code i dont know whats wrong with this please help me anyone?
0
votes
0 answers
Hide adBanner after view controller change
So I have this code.
override func viewDidLoad() {
super.viewDidLoad()
self.canDisplayBannerAds = true
adBanner.delegate = self
adBanner.hidden = true
}
func bannerView(banner: ADBannerView!, didFailToReceiveAdWithError error:…

ElectricTiger
- 111
- 1
- 9
0
votes
1 answer
Removing an AdBannerView from a UIViewController from an IAP without having to restart the app
I have a 5-tab UITabBarController where each Tab is a UIViewController. The first tab is called Timeline, the second is called Person and the last tab is called More.
I have implemented In-App Purchases with my app where before the IAP, the user…

amitsbajaj
- 1,304
- 1
- 24
- 59
0
votes
1 answer
Setting the NSLayoutAttributeLeading Space to Superview programmatically with some warnings
I am bringing an AdBannerView to the bottom of my app and I'm creating this programmatically because of the use of shared banners (rather than creating it in Storyboard). My app works in Portrait and Landscape mode and so in my viewWillAppear, I am…

amitsbajaj
- 1,304
- 1
- 24
- 59
0
votes
0 answers
How do I add iAd banner on top of TableViewController?
So I tried to add iAd in appdelegate. and I get this error
ADBannerView must be part of a view hierarchy managed by a UIViewController
I want to show the banner on all views. I tried on how to add shared iAd but what it does is, it shows the…

user528432
- 411
- 2
- 5
- 18
0
votes
4 answers
Android Ads are not clickable
I am trying to add my first advertisement to my android app. I followed a tutorial, and added the following code to my xml file

codeX
- 4,842
- 2
- 31
- 36
0
votes
3 answers
How to remove ADBannerView out from UIViewController in my iOS app?
In my app, I had added the ADBannerView into the UIViewController by code
in .h file
@property (strong, nonatomic) ADBannerView *adBannerView;
in .m file
- (void)viewDidLoad
{
[super viewDidLoad];
self.adBannerView = [[ADBannerView alloc]…

Bentley
- 143
- 10
0
votes
1 answer
Adding AdBannerView into SpriteKit
I am currently using SpriteKit and am trying to incorporate iAd into it. From what I have seen, it seems like the best thing to do is to put it in a subclass of UIViewController since you can't add AdBannerView to an Sk Scene. However, I can't…

user2628550
- 13
- 5
0
votes
1 answer
iAd banner problems
The error and the problem:
WARNING: More than 10 instances of ADBannerView or ADInterstitialView currently exist. This is a misuse of the iAd API, and ad performance will suffer as a result. This message is printed only once.
my implementation of…

reojased
- 709
- 1
- 7
- 19