Menu
  • HOME
  • TAGS

Why are my facebook banner ads too small for the ipad in Swift Spritekit?

ios,swift,banner-ads,facebook-audience-network

You should work with percentage-sizes: var theWidth = self.frame.width var theHeight = self.frame.height / 15 //for example. But make the height as you need Instead of hard coded sizes like you did. Then you can use your size like that: adView.frame = CGRect(x: 0, y: self.view.frame.size.height - 50, width: theWidth,...

AdMob and different screen Resolution / DPI / Ratio

android,admob,opengl-es-2.0,scaling,banner-ads

The size of the banner you are being given is correct for that size and density phone (320*50). You can't get a smaller banner than that. On your tablet you are also asking for and displaying a phone sized banner ad. You would normally display a larger format ad (or...

Cannot seem to move iAd banner to the top of the screen with this code

sprite-kit,iad,adbannerview,banner-ads

Change this line: _adBanner = [[ADBannerView alloc] initWithFrame:CGRectMake(0, self.view.frame.size.height, 320, 50)]; To this: _adBanner = [[ADBannerView alloc] initWithFrame:CGRectMake(0, -50, 320, 50)]; (where the -50 is the height of the ad banner.) Before you were setting the ad banner's frame to the bottom of the screen using self.view.frame.size.height, whereas now the...

How to loop animated text banners using css keyframes

css,html5,animation,css-animations,banner-ads

As I said in the comment, you have to use different keyframes for each animation. Then you have full control over the delay between animation, the point is all the durations are the same, so you have a perfect cycle. Note that using the animation-delay will make each animation have...

Error handling when implementing Admob for Android

exception-handling,error-handling,admob,banner-ads

There is no such beast. Once you have invoked an async process (like ad handling) there is no way to catch that fault within your Activity....