简体   繁体   English

ADBannerView问题

[英]Problem with ADBannerView

当我想从第一个视图跳到第二个视图时,有一个小问题:我在第一个viewController中有一个ADBannerView1,在第二个ViewController中有另一个ADBannerView2 ..问题是当我从第一个视图跳到第二个时adBanner2被状态栏隐藏了...我试图删除状态栏,并将缩放比例设置为徒然。.问题是当我尝试单击adBanner2并返回到我的secondView时,它将看起来很完美,但加载时却不是:(任何帮助..

for my problem i just found the solution : if you want to read the documentation : http://developer.apple.com/iphone/library/featuredarticles/ViewControllerPGforiPhoneOS/BasicViewControllers/BasicViewControllers.html#//apple_ref/doc/uid/TP40007457-CH101-SW26 对于我的问题,我刚刚找到了解决方案:如果您想阅读文档: http : //developer.apple.com/iphone/library/featuredarticles/ViewControllerPGforiPhoneOS/BasicViewControllers/BasicViewControllers.html#//apple_ref/doc/uid/TP40007457 -CH101-SW26

it's a BOOL property for the viewController that you want to display : wantsFullScreenLayout you just have to put this code when you want to skip to the second ViewController : secondview.wantsFullScreenLayout = YES; 这是您要显示的viewController的BOOL属性:wantFullScreenLayout当您想跳到第二个ViewController时,只需要放置此代码即可:secondview.wantsFullScreenLayout = YES;

hope it will help.. 希望对您有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM