iOS常用控制項尺寸大集合

來源:互聯網
上載者:User

標籤:

元素控制項 尺寸(pts)
Window(含狀態列) 320 x 480
Status Bar的高度 20
Navigation Bar的高度 44
含Prompt的Navigation Bar的高度 74
Navigation Bar的表徵圖 20×20(透明的png)
Tool Bar的高度 44
Tool Bar的表徵圖 20×20(透明的png)
Tab Bar的高度 49
Tab Bar的表徵圖 30×30(透明的png)
豎直時鍵盤的高度 216、252(iOS 5+的中文鍵盤)
水平時鍵盤的高度 162、198(iOS 5+的中文鍵盤)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

iPhone App Icon:

表徵圖名稱 尺寸 用途 是否必需
Icon.png 57×57 App Store和iPhone、iPod touch案頭顯示
[email protected] 114×114 Icon.png的高清模式
Icon-Small.png 29×29 “設定”應用和Soptlight搜尋
[email protected] 58×58 Icon-Small.png的高清模式

 

 

iPad App Icon:

表徵圖名稱 尺寸 用途 是否必需
Icon-72.png 72×72 iPad案頭顯示
Icon-50.png 50×50 Spotlight搜尋
Icon-29.png 29×29 “設定”應用

 

iPhone、iPad通用App Icon:

 

表徵圖名稱 尺寸 用途 是否必需
Icon.png 57×57 App Store和iPhone、iPod touch案頭顯示
Icon-72.png 72×72 iPad案頭顯示
Icon-50.png 50×50 iPad的Soptlight搜尋
Icon-29.png 29×29 “設定”應用和iPhone、iPod touch的Soptlight搜尋

 

 

 

延伸閱讀:Points VS. Pixels

    The iPhone 4 introduced a high resolution display with twice the pixels of previous iPhones. However you don‘t have to modify your code to support high-res displays; the coordinate system goes by points rather than pixels, and the dimensions in points of the screen and all UI elements remain the same.

    iOS 4 supports high resolution displays (like the iPhone 4 display) via the scale property on UIScreen, UIView, UIImage, and CALayer classes. If the object is displaying high-res content, its scale property is set to 2.0. Otherwise it defaults to 1.0.    All you need to do to support high-res displays is to provide @2x versions of the images in your project. See the checklist for updating to iOS4 or Apple documentation for Supporting High Resolution Screens for more info. 

 原文出處:http://dangpu.sinaapp.com/?p=59 

iOS常用控制項尺寸大集合

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.