更新时间: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)
尺寸背景:
**状态栏+ UINavigationBar的(20像素+ 44像素)
**status bar + UINavigationBar (20px + 44 px)
尺寸背景:
您应该检查此链接:
尺寸屏幕iPhone