iOS若是不添加相應設備尺寸的啓動圖,獲取的屏幕高度寬度都是480x320

1.不添加相應圖片的話,審覈過不了.
例如"As of May 1, all new iPhone apps and app
updates submitted must support the 4-inch display on iPhone 5. All apps
must include a launch image of the appropriate size. Learn more about
iPhone 5 support by reviewing the iOS Human Interface Guidelines."

2.只有480的話,屏幕上下自動補黑條.

3.原理:
因爲5,5s上市時,須要兼容以前版本的App,同時要減小適配的開發成本.最後就出了惟一的一個判斷標準:若是有相應設備尺寸的開機圖,系統就當你這個App針對新設備作過適配,不然就按照480x320來算.
後來出了6,6p就沿用了一樣的適配規則.app

相關文章
相關標籤/搜索