简体   繁体   English

iPhone SE设计可以用于iPhone X吗

[英]Can iPhone SE design work for iPhone X

I have designed my app without auto layout and for the size 320*568 (iPhone SE). 我设计的应用程序没有自动布局,尺寸为320 * 568(iPhone SE)。 The design i did for iPhone SE itself worked up to iPhone 7plus bcoz of adding corresponding launch image. 我为iPhone SE所做的设计本身与添加相应的启动图像的iPhone 7plus bcoz兼容。 Even it now works for iPhone 8 plus. 即使现在它也适用于iPhone 8 plus。 But for iPhone X, it doesn't seem to be appearing full screen(Pl find the below image). 但是对于iPhone X,它似乎并没有全屏显示(请找到下图)。 Is there a quick fix or do i have to use autolayout to get it right? 是否有快速解决方案,或者我必须使用自动版式将其正确设置? 在此处输入图片说明

Autolayout is the best for the iOS design to make it responsive according to the different device, so it is suggested to use autolayout. 自动布局是最适合iOS设计的设备,以使其根据不同的设备做出响应,因此建议使用自动布局。 There are some reasons for why we should use the autolayout ? 为什么要使用自动布局有一些原因?

  1. It assures that it looks fine on all the devices. 它确保在所有设备上看起来都不错。
  2. It requires less effort to make design responsive if you are looking for different sizes or orientation. 如果您正在寻找不同的尺寸或方向,则需要花费较少的精力来使设计响应。
  3. It is easy to update the design when there is new device introduced. 当引入新设备时,很容易更新设计。

And for particularly your question. 特别是您的问题。 If you want great design on all the device including iPhone X you should use 'Safe Area' + 'Autolayout'. 如果要在包括iPhone X在内的所有设备上进行出色的设计,则应使用“安全区域” +“自动布局”。

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

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