简体   繁体   English

iAD没有显示在3.5英寸的屏幕上吗?

[英]iAD doesn't show on 3.5" screen?

I built my app for a 4" screen. In order for everything to show up on a 3.5" screen I checked the option Use Autolayout . 我为4英寸屏幕构建了我的应用。为了使所有内容都能在3.5英寸屏幕上显示,我选中了使用自动版式选项。

I have a iAD Banner view at the bottom of my 4" Storyboard screen. Whether or not I check the Use Autolayout button, the Ad doesn't show up when I run my app on 3.5" simulator. 我在4英寸情节提要面板屏幕的底部有一个iAD横幅视图。无论我是否选中“ 使用自动布局”按钮,当我在3.5英寸模拟器上运行我的应用程序时,广告均不会显示。

If I move my banner view up so it shows on the 3.5" it also moves it up on the 4" simulator. 如果我将横幅视图向上移动,使其显示在3.5“上,那么它也会在4”模拟器上向上移动。 How do I get it so the iAD shows at the bottom of both 3.5" and 4" screens and hopefully with the AutoLayout still checked which saves me a lot of time. 如何获得它,以便iAD在3.5英寸和4英寸屏幕的底部显示,并希望仍选中自动版式,这可以节省很多时间。

set constraints on your iAd banner 在iAd横幅上设置约束

在此处输入图片说明

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

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