简体   繁体   English

为iPhone SE创建自动布局?

[英]Creating auto layouts for iphone se?

I'm making an app that I want applicable to all sizes but the problem is that iPhone 8 up to iPad devices are good but I noticed that the iPhone SE and below iPhones are not being supported when you make your app for iPhone 8 and up because it's so small. 我正在制作一个适用于所有尺寸的应用程序,但问题是iPhone 8和iPad设备都不错,但是我注意到当为iPhone 8和更高版本制作应用程序时,不支持iPhone SE及以下版本的iPhone。因为它很小。 Now does that mean I have to create a scroll view for all my pages not since it doesn't fit for iPhone SE and below or is it recommended to not just include iphone se size and below for any future app? 现在,这是否意味着我不必为我的所有页面创建滚动视图,因为它不适合iPhone SE及以下版本,还是建议不为将来的任何应用程序仅包含iphone se大小及以下内容?

建议将您的应用程序创建为通用应用程序,并尽可能支持所有屏幕尺寸,以尽可能地吸引市场上的用户,并升级对iPhone 4、5的支持。我认为您需要在您认为可能会超出屏幕尺寸的任何屏幕中使用scrollView这两个设备的屏幕高度,或创建与屏幕高度成比例的项目高度,以确保所有UI元素都适合屏幕

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

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