且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iPhone应用程序的背景图像不完美呈现

更新时间:2023-10-20 13:38:52

您忘了你有一个状态栏,女巫有20个像素。此外,如果您使用的是UINavigationBar的,这其中的44px。看一些例子:

You forgot you have a status bar, witch has 20 px. Also, if you are using a UINavigationBar, this one its 44px . See Some Examples:

**只的状态栏。(20像素)

**only with statusBar (20 px)

尺寸背景:


  1. -iPhone 3GS:320x460

  2. -iPhone 4 / 4S:640x920(视网膜显示)

  3. -iPhone 5:640x1116(视网膜显示)

**状态栏+ UINavigationBar的(20像素+ 44像素)

**status bar + UINavigationBar (20px + 44 px)

尺寸背景:


  1. -iPhone 3GS:320x416

  2. -iPhone 4 / 4S:640x876(视网膜显示)

  3. -iPhone 5:640x1072

您应该检查此链接:
尺寸屏幕iPhone