How to detect the current device size (and how to tell if it's an iPhone 5)
| Element | iPhone 4S (and earlier) | iPhone 5 | 
| Window (including status bar) | 320 x 480 pts | 320 x 568 pts | 
| 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 | 411 pts | 
| Height of a view inside a navbar and a tab bar | 367 pts | 455 pts | 
| Portrait Keyboard (English) | 320 x 216 pts | 320 pts | 
| Landscape Keyboard (English) | 480 x 162 pts | 568 x 162 pts | 
| Launch Image | 640 x 960 pixels | 640 x 1136 pixels | 
출처 : http://www.idev101.com/code/User_Interface/sizes.html
'Programming > iOS' 카테고리의 다른 글
| iOS에서 파일을 통해 문자열 가져왔을 때 인식 문제 (0) | 2013.11.29 | 
|---|---|
| Notification에 대해 좋은 글 (0) | 2013.11.27 | 
| iOS 버전별로 폰트를 확인할 수 있는 사이트 (0) | 2013.04.04 | 
| iOS 디바이스별 화면 구성요수 치수 (0) | 2013.04.04 | 
| NSArray를 merge하는 함수 (0) | 2012.05.07 |