iAds 从一开始就以横向显示纵向

发布于 2024-09-18 18:44:31 字数 183 浏览 4 评论 0原文

我得到了这个 iPhone 应用程序,我使用 AdWhirl 在多个广告网络之间进行切换。现在,当 iAds 轮到并且在广告显示之前手机处于横向状态时,它将显示正常的纵向 iAd。如果我随后将手机调至纵向,然后再调回横向,则会显示正确的更长且更薄的 iAd 横向版本。

那么,如果手机在展示广告之前处于横向模式,为什么它会显示小版本呢?

I got this iPhone app where I use AdWhirl to change between a number of ad networks. Now when iAds gets its turn in and the phone is in landscape orientation before the ad shows it will display the normal portrait iAd. If I then turn the phone to portrait and back to landscape it shows the correct longer and thinner landscape version of the iAd.

So why is it displaying the small version if the phone is in landscape mode before showing the ad?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

晨敛清荷 2024-09-25 18:44:32

这就像每当我收到新广告时转动它一样简单:

- (void)adWhirlDidReceiveAd:(AdWhirlView *)adWhirlView { 

    [adWhirlView rotateToOrientation:self.interfaceOrientation];
    [self adjustAdSize];

}

It was as simple as just turning it whenever I receive a new ad:

- (void)adWhirlDidReceiveAd:(AdWhirlView *)adWhirlView { 

    [adWhirlView rotateToOrientation:self.interfaceOrientation];
    [self adjustAdSize];

}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文