运行Air Apps / Actionscript

时间:2015-12-10 00:18:55

标签: ios ipad actionscript air

在视网膜iPad上,基于Adobe Air的App可以处理2048x1536像素,这是4x3宽高比。这非常有效,因为非视网膜iPad只有一半的分辨率,但长宽比相同。无论设备如何,我都可以确定布局。

iPad pro现已发布,其分辨率高于iPad视网膜,并具有不同的宽高比。

我的应用程序可以很好地扩展到任何宽高比,但Air中的Native Capabilities对象将iPad pro报告为2048x1536,实际上是2732x2048。

为什么Native Capabilities报告错误的分辨率以及额外屏幕区域发生的事情是iPad拉伸,缩放或留空。

感谢。

1 个答案:

答案 0 :(得分:0)

Regarding Air's support of the iPad Pro new resolution and icon size there are two open enhancement requests:

I would go and add your vote to each.

what is happening to the extra screen area, is the iPad stretching, zooming or leaving blank.

I, personally, do not have an iPad Pro to test, you could send me one... ;-), but I would create an image at the reported capabilities (2048x1536) and embed it on a test app for display to see what happens. I am assuming from other's iPad Pros running non-optimized apps, that the image will be upscaled, but will look decent... Apps that were barely acceptable in terms of upscaling on iPad 3, iPad 4, iPad Air, iPad Air 2 @ 1536 x 2048 sincee will look really bad...

With the same iPad aspect ratio and 264 ppi as the rest of the iPad family as long as your assets are based on Apple's @2x high-resolution modifier and your screen layout is using logical resolutions for control layout your app should be "OK" in terms of scaling, if your assets as not @2x style, then upscaling will look blocky of course...

FYI: the logical layout resolution of the iPad Pro would be 1024 x 1366 and thus if your app follows that layout res and thus 4:3 for all iPads, you should not see any "stretching"...