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 ...
随机推荐
- equal与== 个人笔记
首先看看下面的图,看清楚了图咱们要说的知识点也就说说清楚了一半 int a=10; String b="ss"; String c=new String("kkk&quo ...
- 嵌入式C语言位运算之清位置位
如题,在嵌入式开发中,掌握位运算是节省开发时间和提高开发效率的一种高效方式. 我们不得不去熟悉如何快速掌握位运算这种高效的技巧,接下来看看程序.. #include <stdio.h> # ...
- 第一个Polymer应用 - (4)收尾工作
原文链接: Step 4: Finishing touches翻译日期: 2014年7月8日翻译人员: 铁锚在本节中,会在卡片上添加收藏按钮,并可以通过切换选项卡(tabs)连接到不同的 <po ...
- Android ViewPager和Slidingmenu手势冲突问题
尊重原创: http://blog.csdn.net/sk719887916/article/details/40043961 skay 想必大家都遇到过手势和焦点的问题 对于安卓初学者或者初次 ...
- GNU C 与 ANSI C的区别
1.零长度数组 GNU C允许使用零长度数组,定义变长度对象时比较方便 struct var_data { int len; char data[0]; }; var_data的大小仅为一个int型, ...
- PHP开发环境apache搭建
首先我们先来了解一下PHP的一些相关的基础知识: PHP是啥? php其实就是超文本预处理程序,一种制作网站的脚本程序. 通常PHP的运行环境有以下两种: wamp windows+apache+m ...
- obj-c编程10:Foundation库中类的使用(2)[字符串,数组]
Foundation库的内容不可谓不多,就算很精简的说篇幅也受不了啊!笨猫一向反对博客文章一下子拖拖拉拉写一大坨!KISS哦!so将上一篇文章再分一篇来说,于是有了这篇,可能还会有(3)哦... 我发 ...
- mybatis中#{}与${}的区别
今天学习了下mybatis的查询,了解到了#{}与${}的区别, 配置文件如下: <?xml version="1.0" encoding="UTF-8" ...
- Demo1
<!DOCTYPE html> <html lang="zh"> <header> <meta charset="utf-8&q ...
- 搭建spring cloud config
很久没更新了,因为不是专职研究spring cloud,因此更新速度得看工作强度大不大,每天能抽出的时间不多,如果更新太慢了,并且有小伙伴看的话,请见谅了. Spring Cloud简介 Spring ...