gpt4 book ai didi

iPhone 和 iPad 的 iOS 分辨率

转载 作者:行者123 更新时间:2023-11-29 11:47:47 24 4
gpt4 key购买 nike

我知道这类问题经常被问到,但我已经阅读了很多答案,但没有一个能完全回答我的问题。

我正在建立一个游戏项目,我愿意支持:

iPhone 5 及更高版本。iPad(全部)

所以我对设备的分辨率和逻辑分辨率有很多困惑。我的问题的一些答案给出了推荐的尺寸,这些尺寸是某些设备的分辨率,而其他答案给出了逻辑分辨率。

我想做的是向我的艺术家请求两种图像尺寸,然后允许设备缩小。

因此,如果我想支持纵横比为 3:4 的 iPad。我的目标分辨率应该是:

2048x2732(分辨率)1024x1366(逻辑分辨率)

对于宽高比为 9:16 的 iPhone 也是如此。 ym 目标分辨率应该是:

1242x2208(分辨率)414x736(逻辑分辨率)

iPhone 实际上有点令人困惑,因为我读到分辨率实际上会缩小到 1920x1080,所以也许我应该针对它?

最佳答案

请参阅此链接: http://www.kylejlarson.com/blog/iphone-6-screen-size-web-design-tips/有一个图形显示:所有 iPhone 尺寸的渲染像素、物理像素、每英寸像素等。 (iPhone 7机型与iPhone6相同)

iPhone Rendered Pixels – This is the full number of pixels that arebeing rendered. This is the value you get when you apply themultiplier (1x, 2x, 3x) the device uses to the screen size in points.If you’re creating an image and want it at the max resolution, this isthe size you’d use. I’ve also written an article on Retina images ifyou’d like to learn more

所以 1242 x 2208 将是您第二个示例中的目标大小。

关于iPhone 和 iPad 的 iOS 分辨率,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42734466/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com