Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是否需要调整视图中组件的位置以避免将它们隐藏在 Admob 横幅中。或者有什么简单的方法可以在添加接收时自动重新排列视图。
一般建议是在应用程序底部为横幅留出空间,这样您就不必将其余元素移入adViewDidReceiveAd. 如果您热衷于在没有广告返回的情况下利用此空间,您可能会发现新的 iOS 6 自动布局 API 很有帮助。
adViewDidReceiveAd