【发布时间】:2016-02-28 00:04:48
【问题描述】:
我正在使用 xamarin.forms 开发应用程序。该应用程序具有带有背景图像的屏幕。因此,为了获得适当的背景,我参考了 ios 文档here 并考虑了启动/启动屏幕的尺寸,因为它们就像背景图像一样,但这不起作用。这就是我所遵循的:
iPhone
- 320 x 480 默认.png
- 640 x 960 默认@2x.png
- 640 x 1136 默认-568h@2x.png
- 750 x 1334 默认-667h@2x.png
- 1242 x 2208 默认-736h@3x.png
- 2208 x 1242 默认-Landscape@3x.png
iPad
- 768 x 1024 默认人像.png
- 1536 x 2048 默认-Portrait@2x.png
- 1024 x 768 默认风景.png
- 2048 x 1536 默认-Landscape@2x.png
iphone 6 (iOS 9.0) 中的图像在重复。
编辑: 我需要在 xamarin.forms 内容页面中用作背景图像的图像的命名约定和大小。
对这个尺寸和命名有帮助吗?
【问题讨论】:
-
更好:1536 x 2008 Default-Portrait@2x.png 和 2048 x 1496 Default-Landscape@2x.png
标签: ios iphone xamarin.forms human-interface