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.