iOS开发工程师对APP进行适配的时候,需要根据加载的启动页尺寸来确定UI的尺寸;UI在进行界面设计的时候,可以以iPhone 8的尺寸750x1334px@2x为尺寸基准进行界面设计,开发会依照不同的手机尺寸进行适配;(个人琢磨着,以iPhone X的设计尺寸750x1624px@2x 375x812px@1x去设计应该也可以,iPhone X与iPhone的不同就在于顶部和底部的高度,这个开发应该直接适配,不过目前所在公司里的以前界面都是750x1334px,就没有去做改动)
交接给iOS开发工程师的界面尺寸为750x1334px即可,同时需要切出iPhone每种型号尺寸的启动页,以方便开发使用
切图尺寸一般尺寸(单位px):
iPhone 4s (@2x) 640x960
iPhone SE (@2x) 640x1136
iPhone 6 (@2x) 750x1334
iPhone 6 Plus (@3x) 1242x2208
iPhone X/XS (@3x) 1125x2436
iPhone XR(@2x) 828x1972
iPhone XS Max(@3x) 1242x2688
iPad9.7 / iPad mini7.9 (@2x) 1536x2408
iPad Pro12.9 2048x2732
iPad Pro10.5 1668x2224
iPad 2 and iPad mini (@1x) 768x1024(这个感觉不应该是一倍的)
Static Launch Screen Images
It’s best to use an Xcode storyboard for your launch screen, but you can provide a set of static images if necessary. Create static images in different sizes for different devices, and be sure to include the status bar region.