是否可以有多个iAd实例? [英] Is it possible to have multiple instances of iAds?
问题描述
这不适用于在一个屏幕上显示多个iAd.
This is not for multiple iAds displayed on one screen.
我有两个视图,都可以显示iAd.我希望每个视图都有一个ADBannerView
实例.
I have two views, both capable of displaying iAds. I want each view to have a ADBannerView
instance.
有人做过吗?
推荐答案
正如user635633所说,您不会因为使用多个ADBannerview
而被拒绝.
You won't get rejected for using multiple ADBannerview
s, as user635633 says.
But keep in mind that using more than one is not recommended by Apple in iAd Programming Guide (see section Banner View Best Practices).
相反,您的应用程序应该 创建一个横幅视图并使用它 在您的整个用户界面中.作为 用户浏览您的 应用程序,您的应用程序移动 横幅视图到任何屏幕上 预计会显示横幅.
Instead, your application should create a single banner view and use it throughout your user interface. As the user navigates around your application, your application moves the banner view onto any screen that is expected to display a banner.
这篇关于是否可以有多个iAd实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!