iOS常用控件尺寸大集合
| 元素控件 | 尺寸(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桌面显示 | 是 |
| Icon@2x.png | 114×114 | Icon.png的高清模式 | 是 |
| Icon-Small.png | 29×29 | “设置”应用和Soptlight搜索 | 否 |
| Icon-Small@2x.png | 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常用控件尺寸大集合的更多相关文章
- [ios2] iOS常用控件尺寸大集合 【转】
元素控件 尺寸(PTS) Window(含状态栏) 320 x 480 Status Bar的高度 20 Navigation Bar的高度 44 含Prompt的Navigation Bar的高度 ...
- Xamarin Studio在Mac环境下的配置和Xamarin.iOS常用控件的示例
看过好多帖子都是Win环境装XS,Mac只是个模拟器,讲解在Mac环境下如何配置Xamarin Studio很少,也是一点点找资料,东拼西凑才把Xamarin Studio装在Mac上跑起来,如下: ...
- iOS常用控件-UIScrollView
一. 常见属性 @property (nonatomic) CGPoint contentOffset; //记录UIScrollView滚动的位置 @pro ...
- iOS常用控件-UITableViewCell
一. 封装cell: 1.加载xib文件的两种方式 <方式1> (NewsCell是xib文件的名称) NSArray *objects = [[NSBundle mainBundle] ...
- iOS 常用控件集合 完整项目
[Swift]高仿 爱范儿3.0 http://www.code4app.com/forum.php?mod=viewthread&tid=10053&page=1&extra ...
- 【Demo 0006】iOS常用控件
本章学习要点 1. 了解iOS中控件继承关系: 2. 掌握UIControl基础知识; 3. 掌握UIButton基本用法: 4. 掌握UILa ...
- iOS 常用控件 参数
1.StatusBar 20px 2.TableViewCell 44px 3.TabBar 49px 4.NavigationBar 44px 5.NaviBarIcon 20*20px 6.Tab ...
- iOS开发-UI (一)常用控件
从这里开始是UI篇 知识点: 1.常用IOS基本控件 2.UITouch ======================= 常用基本控件 1.UISegmentedControl:分段控制器 1)创建方 ...
- iOS常见控件的基本使用
UI相关类继承关系 UIView 常见属性和方法 UIView属性 UIView方法 UIControl 常用控件 UIImageView 图片显示控件android ImageView UISlid ...
随机推荐
- WebService开发指南
WebServiceInAurora Web Service Web Service是一种面向服务的架构的技术,通过标准的Web协议提供服务,目的是保证不同平台的应用服务可以互操作.在Aurora框架 ...
- Learning ROS for Robotics Programming Second Edition学习笔记(六) indigo xtion pro live
中文译著已经出版,详情请参考:http://blog.csdn.net/ZhangRelay/article/category/6506865 Learning ROS for Robotics Pr ...
- 采购,接收数据收集SQL汇总(从订单->接收->INVOICE所有数据关联SQL)
INDEX OF QUERIES Source Document: Purchase Order: 1: po_headers_all (sql) 2: po_lines_all (sql) 3: p ...
- 【47】java的类之间的关系:泛化、依赖、关联、实现、聚合、组合
java的类之间的关系:泛化.依赖.关联.实现.聚合.组合 泛化: • 泛化关系(Generalization)也就是继承关系,也称为"is-a-kind-of"关系,泛化关系用于 ...
- 创建Sencha touch第一个应用
最近学习Sencha touch ,是一个菜鸟级别.废话不多说,让我们来创建Sencha touch的第一应用. 首先,我们下载Sencha touch2.0 sdk 和SDK工具. SDK工具直接 ...
- NopCommerce开源项目中很基础但是很实用的C# Helper方法
刚过了个五一,在杭州到处看房子,不知道杭州最近怎么了,杭州买房的人这么多,房价涨得太厉害,这几年翻倍翻倍地涨,刚过G20,又要亚运会,让我这样的刚需用户买不起,也买不到房子,搞得人心惶惶,太恐怖了,心 ...
- Fragment生命周期与Fragment执行hide、show后的生命周期探讨
一.Fragment 生命周期中的每个方法的意义与作用: 1.setUserVisibleHint()(此方法不属于生命周期方法):设置Fragment 用户可见或不可见时调用此方法,此方法在Frag ...
- machine learning 之 Neural Network 3
整理自Andrew Ng的machine learning课程week6. 目录: Advice for applying machine learning (Decide what to do ne ...
- sql语言不经常用,复习
sql语言不经常用,每次再用都隔好久的时间,以致最基本的都想不起来了,只好转一篇记着= - 找的时候方便 SQL分类: DDL-数据定义语言(CREATE,ALTER,DROP,DECLARE) ...
- spring 整合 mybatis 中数据源的几种配置方式
因为spring 整合mybatis的过程中, 有好几种整合方式,尤其是数据源那块,经常看到不一样的配置方式,总感觉有点乱,所以今天有空总结下. 一.采用org.mybatis.spring.mapp ...