[英]iOS: Height of iAd banner view for universal app?
I want to make my app universal with one storyboard for all devices. 我想通过一个适用于所有设备的故事板使我的应用程序通用。 I have now a view below my table view which should contain the iAd banner, unless the user has made the in app purchase to remove the ads.
现在,我的表格视图下面有一个视图,其中应包含iAd标语,除非用户进行了应用内购买来删除广告。 So now I want to place the iAd banner within this view, but I don't know how big this view must be?
因此,现在我想在此视图中放置iAd标语,但是我不知道该视图必须有多大? Very confused about all the information in the internet, since a lot of stuff has been deprecated with the universal storyboards...
互联网上的所有信息都非常混乱,因为通用故事板已弃用了很多内容...
Apple's own iAD Programming Guide does not cover the Adaptive Layout with Size Classes the last I checked. 苹果自己的《 iAD编程指南》没有涵盖我最后检查的带有大小类的自适应布局。 So, you may want to try and turn off Size Classes for your StoryBoard and use 2 StoryBoards.
因此,您可能想要尝试为StoryBoard关闭Size Class,并使用2个StoryBoard。 But, this will make defining Constraints more important to adjust for various device sizes.
但是,这将使定义约束对于调整各种设备大小变得更加重要。
iAd Programming Guide (check the Banner View Concepts section) https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/iAd_Guide/Introduction/Introduction.html iAd编程指南(请查看“横幅视图概念”部分) https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/iAd_Guide/Introduction/Introduction.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.