IOS设备分辨率
1. iphone设备分辨率如下图所示
下面对上图进行详细说明
| Element | iPhone 4S (and earlier) | iPhone 5 |
|---|---|---|
| Window (including status bar) | 320 x 480 pts | 320 x 568 pts |
| Status Bar (How to hide the status bar) | 20 pts | 20 pts |
| View inside window (visible status bar) | 320 x 460 pts | 320 x 548 pts |
| Navigation Bar | 44 pts | 44 pts |
| Nav Bar/Toolbar Icon | white icon - up to 20 x 20 pts (transparent PNG) | |
| Tab Bar | 49 pts | 49 pts |
| Tab Bar Icon | up to 30 x 30 pts (transparent PNGs) | |
| Text Field | 31 pts | 31 pts |
| Height of a view inside a navigation bar | 416 pts | 504 pts |
| Height of a view inside a tab bar | 411 pts | 499 pts |
| Height of a view inside a navbar and a tab bar | 367 pts | 455 pts |
| Portrait Keyboard (English) | 320 x 216 pts | 320 x 216 pts |
| Landscape Keyboard (English) | 480 x 162 pts | 568 x 162 pts |
| Launch Image (Launch Image Sizes for iPhone & iPad) | 640 x 960 pixels | 640 x 1136 pixels |
注:我们在程序中一般设置的是以点为单们的
普通屏:1pts = 1pixels
retina屏:1pts = 2pixels
5565

被折叠的 条评论
为什么被折叠?



