简体   繁体   English

在Ipad模式下观看时,仅限iPhone的应用程序在屏幕底部显示(2倍)

[英]Iphone only app cuts of the bottom of the screen when viewed in Ipad mode (2x)

my app is very basic and looks great on the iphone but in compatability mode 2x on the ipad it does not show the same screen as on the iphone. 我的应用程序非常简单,在iphone上看起来很棒,但是在ipad的兼容模式2倍下,它显示的屏幕与iphone上的屏幕不同。 it was built as an iphone only app and has no major graphs. 它是作为仅限iPhone的应用而构建的,没有主要图形。 this is what Apple told me. 这就是苹果告诉我的。 2.10: iPhone apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution 2.10:iPhone应用程序还必须在iPad上运行且未经修改,并以iPhone分辨率和2X iPhone 3GS分辨率运行

I've had the same behavior on a physical iPad 2 for an existing working iPhone-only app. 对于现有的仅运行iPhone的应用程序,我在物理iPad 2上具有相同的行为。

In fact, after adding for each Retina images (suffixed by @2x) a corresponding non-Retina version in the project, my app launched successfully on the iPad, without any modifications... 实际上,在为项目中的每个Retina图像添加(带有@ 2x后缀)对应的非Retina版本之后,我的应用程序在iPad上成功启动,无需进行任何修改...

I'm not sure it will work for you, but might worth to try ? 我不确定它是否适合您,但也许值得尝试?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM