iAd适用于iPhone,但不适用于iPad [英] iAd works in iPhone but not iPad

查看:136
本文介绍了iAd适用于iPhone,但不适用于iPad的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将我的第一个应用程序上载到了仅用于iPhone/iPod的应用程序商店.它可以运行,并且iAd功能可以在iPhone或iPod上运行,但是可以在ipad上运行,并且可以放大且无法加载iAd标语.不会产生任何错误,但不会加载广告横幅.

I have just uploaded my first app to the app store that was only designed for iPhone/iPod. It works, and the iAd functions work when it runs on a iPhone or iPod, but when it's run on an iPad, and it can be zoomed in and things, the iAd banners aren't loading. No errors are generated, but the ad banners don't load.

有人有什么想法吗?我尝试将应用程序更改为通用应用程序,然后它可以工作,但是布局发生了变化. iAds是否可以在放大的iPad版本上使用,或者仅仅是因为该应用程序刚刚发布?

Does anyone have any ideas? I tried changing the app to universal and then it works, but the layout changes. Is there a way for the iAds to work on a zoomed-in iPad version, or is it just because the app has only just been released?

谢谢.
J

推荐答案

这就是应该的样子.如果您的应用程序没有iPad版本,而用户只是在iPad上运行zoom,则iAds将不会显示.展示iAd的唯一方法是使用两个故事板或笔尖创建一个通用应用.每个设备一个.这就是我最终要做的,因此所有用户都将收到iAd,而无法绕过它们.

That is the way it is supposed to be. If your app does not have an iPad version, and users just run it zoom in on iPad then iAds will not show up. The only way you are going to have iAds show up is to create a universal app with two storyboards or nibs. One for each device. That's what I ended up doing, so all users will receive iAds and not be able to bypass them.

这篇关于iAd适用于iPhone,但不适用于iPad的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆