I try to show iAd with ADBannerView in my game.
All work good on iPad, but on my iPhone 4S I see this:
Banner placed higher than it should.
Determining the height of the banner is not correct.
Unity 3.5.7
Code that I use to show banner:
banner = new ADBannerView();
banner.autoSize = true;
banner.autoPosition = ADPosition.Bottom;
How this can be fixed ?
I’m having the same problem. Does anyone know a solution?
if(Screen.height<700) {
banner.autoPosition = ADPosition.Manual;
banner.position = new Vector2(0, 288);
} else {
banner.autoPosition = ADPosition.Bottom;
}
This solves it for me. It may be a problem with universal apps as ad height is different in iphone and ipad.
Place banner manually is a bad solution, because if you receive another higher ad you will put it out of screen partially.
This problem in Unity, banner height determining is wrong and you can’t know what is actual banner height.
Alexey
April 11, 2013, 1:11pm
6
Place banner manually is a bad solution, because if you receive another higher ad you will put it out of screen partially.
This problem in Unity, banner height determining is wrong and you can’t know what is actual banner height.
guys, not to worry. We are rewriting our iAD support, so it will be better soon, i promise 8)
AdBannerView is still showing banner at wrong position on the iPhone 5. (Using unity 4.2.2) So I guess this is still not fixed??
banner.autoSize = true;
banner.autoPosition = ADPosition.Bottom
Banner will show up a little bit below center of screen (landscape mode game)
WarbladerToo:
AdBannerView is still showing banner at wrong position on the iPhone 5. (Using unity 4.2.2) So I guess this is still not fixed??
banner.autoSize = true;
banner.autoPosition = ADPosition.Bottom
Banner will show up a little bit below center of screen (landscape mode game)
when i am click share button then banner ads position is upp?