简体   繁体   English

iOS6中弃用了ADBannerContentSizeIdentifierPortrait吗?

[英]ADBannerContentSizeIdentifierPortrait deprecated in iOS6?

代码截图

So ADBannerContentSizeIdentifierPortrait/Landscape has been deprecated in iOS6. 因此,iOS6中已弃用ADBannerContentSizeIdentifierPortrait / Landscape。 There's not much after searching on google. 在Google上搜索后没有多少。 I guess this is too new. 我想这太新了。 I mean, I think I can still run the app, just wondering if anyone knows what Apple is really up to with this. 我的意思是,我想我仍然可以运行该应用程序,只是想知道是否有人知道Apple真正在做什么。

With iOS6 came several new updates to the auto-resizing capabilities. iOS6附带了自动调整大小功能的几个新更新。 Apple no longer wants developers to use the ADBannerContentSizeIdentifierPortrait and ADBannerContentSizeIdentifierLandscape techniques, and instead use the auto-resizing capabilities of iOS6. 苹果不再希望开发人员使用ADBannerContentSizeIdentifierPortraitADBannerContentSizeIdentifierLandscape技术,而是使用ADBannerContentSizeIdentifierLandscape的自动调整大小功能。

Similarly, the setCurrentContentSizeIdentifier and setRequiredContentSizeIdentifiers are also deprecated. 同样, setCurrentContentSizeIdentifiersetRequiredContentSizeIdentifiers也已弃用。

A pretty good tutorial that I found the other day on auto-resizing in iOS6 can be found here 我前几天在iOS6中找到了一个关于自动调整大小的很好的教程,可以在这里找到

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

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