ios - Apple's iAd doesn't look good on device/simulator -


this how iad looks on device/simulator. it's happens every time. actual size of banner right, content size wrong (you can see on picture). maybe, when app goes live problem fixed? help, thanks.

my app using cocos2d v2.1, landscape only.

this createbanner code:

 _adbannerview = [[adbannerview alloc] initwithframe:cgrectzero]; _adbannerview.delegate = self;      cgsize sizetofit = [_adbannerview sizethatfits:[[ccdirector shareddirector] view].frame.size]; [_adbannerview setframe:cgrectmake(([[ccdirector shareddirector] view].frame.size.width - sizetofit.width)/2.0f, 0, sizetofit.width, sizetofit.height)];  [_adbannerview setautoresizingmask:uiviewautoresizingflexiblewidth];  cgrect frame = _adbannerview.frame; frame.origin.y = -frame.size.height; frame.origin.x = 0.0f;  _adbannerview.frame = frame;  appcontroller * mydelegate = (((appcontroller*) [uiapplication sharedapplication].delegate)); [mydelegate.navcontroller.view addsubview:self.adbannerview]; 

this

ok, solved it. problem new ios 8 feature when can use launchimage.xib instead of assets catalog. when use resizable .xib file works perfect, iad don't response in landscape mode.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -