简体   繁体   English

iOS:这是关于全屏图像尺寸的好主意吗?

[英]iOS: Is this a good idea regarding full screen image sizes?

I am wondering regarding iOS development if it is a good idea to have 3 image sizes in the following resolution for full screen size. 我想知道有关iOS开发的一个好主意,以全屏尺寸设置以下分辨率的3个图像尺寸。 So the sizes should be: iPhone 1x (320x480) iPhone 2x (750x1334) iPhone R4 (640x1136) iPhone 3x (1242x2208)? 因此大小应为:iPhone 1x(320x480)iPhone 2x(750x1334)iPhone R4(640x1136)iPhone 3x(1242x2208)?

Right now, we don't have the resource to make an image for every screen size. 目前,我们没有资源为每种屏幕尺寸制作图像。 Is this an overall good idea? 这是一个整体好主意吗?

Edit: This is going to be a login view controller. 编辑:这将是一个登录视图控制器。 The background image will look like similar to this http://assets.materialup.com/uploads/4c98fa96-8bc8-406a-8fc7-d451897a1a37/launch-screen.jpg . 背景图片看起来类似于此http://assets.materialup.com/uploads/4c98fa96-8bc8-406a-8fc7-d451897a1a37/launch-screen.jpg

By full view do you mean the Launch File? 从全视图来看,您是指启动文件吗? If so at the bottom of this page iOS Human Interface Guide Apple shows these sizes which seem to be the same as yours. 如果是这样,则在此页面的底部, iOS《 Apple 人机界面指南》 Apple显示了这些尺寸,这些尺寸似乎与您的尺寸相同。

For iPhone 6: 对于iPhone 6:

750 x 1334 (@2x) for portrait 1334 x 750 (@2x) for landscape 纵向750 x 1334(@ 2x)横向1334 x 750(@ 2x)

For iPhone 6 Plus: 对于iPhone 6 Plus:

1242 x 2208 (@3x) for portrait 2208 x 1242 (@3x) for landscape 纵向1242 x 2208(@ 3x)横向2208 x 1242(@ 3x)

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

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