有没有人知道要使用的新方法,而不是sizeFromBannerContentSizeIdentifier在iOS 6中弃用?
没有其他方法。您可以使用框架属性,它还可以为您提供广告视图尺寸。
CGSize adSize = adView.frame.size;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
474 次 |
| 最近记录: |