iOS 开发常用尺寸
来源:互联网 发布:批处理图片的软件 编辑:程序博客网 时间:2024/05/22 06:34
在cocoachina上看到iPhone开发中经常用到的控件尺寸大集合这篇文章,因为经常用到这些尺寸,在这里做一下记录。
Element Size (in points)
Window (including status bar) 320 x 480 pts
Status Bar
(How to hide the status bar) 20 pts
View inside window
(visible status bar) 320 x 460
Navigation Bar 44 pts
Nav Bar Image /
Toolbar Image up to 20 x 20 pts (transparent PNG)
Tab Bar 49 pts
Tab Bar Icon up to 30 x 30 pts (transparent PNGs)
Text Field 31 pts
Height of a view inside
a navigation bar 416 pts
Height of a view inside
a tab bar 411 pts
Height of a view inside
a navbar and a tab bar 367 pts
Portrait Keyboard height 216 pts
Landscape Keyboard height 140 pts
App Icon:
Table 5-2 Sizes for images in the CFBundleIcons key
Icon
Idiom
Size
Usage
App icon (required)
iPhone
57 x 57 pixels
114 x 114 pixels (@2x)
This is the main icon for apps running on iPhone and iPod touch.The @2x variant of the icon is for use on devices with Retinadisplays only.
App icon (required)
iPad
72 x 72 pixels
144 x 144 pixels (@2x)
This is the main icon for apps running on iPad. The @2x variant ofthe icon is for use on devices with Retina displays only.
Settings/Search results icon
iPhone/iPad
29 x 29 pixels
58 x 58 pixels (@2x)
This is the icon displayed in conjunction with search results oniPhone and iPod touch. This icon is also used by the Settings appon all devices.
The @2x variant of the icon is for use on devices with Retinadisplays only.
Search results icon
iPad
50 x 50 pixels
100 x 100 pixels (@2x)
This is the icon displayed in conjunction with search results oniPad. The @2x variant of the icon is for use on devices with Retinadisplays only.
启动画面:
Table 5-3 Typical launch image dimensions
Device
Portrait
Landscape
iPhone and iPod touch
320 x 480 pixels
640 x 960 pixels (@2x)
Not supported
iPad
768 x 1004 pixels
1536 x 2008 pixels (@2x)
1024 x 748 pixels
2048 x 1496 pixels (@2x)
文档本地位置:file:///Users/shjborage/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.AppleiOS5_1.iOSLibrary.docset/Contents/Resources/Documents/index.html#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide
- iOS 开发常用尺寸
- iOS开发常用尺寸整理
- iOS开发常用图标尺寸
- iOS 第八课 iOS开发常用尺寸
- IOS常用控件尺寸
- iOS常用尺寸
- iOS常用控件尺寸
- iOS常用尺寸
- SQLibs iOS开发常用代码库
- ios开发尺寸
- ios开发尺寸大全
- ios开发手机尺寸
- ios--常用元素控件尺寸
- iOS常用尺寸大小说明
- iOS常用控件尺寸大合集
- iOS 常用代码
- IOS开发日志记录 - 尺寸
- IOS开发计算文本尺寸
- 去掉字符串中不能作为文件名的特殊…
- Android游戏开发引擎有哪些
- 常用SQL说明
- 在iOS中使用重定向,把控制台内容…
- SQLibs iOS开发常用代码库
- iOS 开发常用尺寸
- "/usr/include/sqlite3.h" …
- git笔记--基础
- ShareKit 中SHK.m中的编译错…
- Object_c底层细节
- TortoiseSVN切换登录用户
- iOS 拨打电话相关知识总结
- 进程名字的赋值
- iOS 播放流媒体 服务端配置备份