博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
iOS 开发常用尺寸
阅读量:4071 次
发布时间:2019-05-25

本文共 1850 字,大约阅读时间需要 6 分钟。

在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 Retina displays 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 of the 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 on iPhone and iPod touch. This icon is also used by the Settings app on all devices.
The @2x variant of the icon is for use on devices with Retina displays only.
Search results icon
iPad
50 x 50 pixels
100 x 100 pixels (@2x)
This is the icon displayed in conjunction with search results on iPad. The @2x variant of the icon is for use on devices with Retina displays 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)

文档本地位置:

转载地址:http://vneji.baihongyu.com/

你可能感兴趣的文章
企业云盘如何助力商业新发展
查看>>
医疗行业运用企业云盘可以带来什么样的提升
查看>>
能源化工要怎么管控核心数据
查看>>
媒体广告业如何运用云盘提升效率
查看>>
企业如何运用企业云盘进行数字化转型-实现新发展
查看>>
司法如何运用电子智能化加快现代化建设
查看>>
iSecret 1.1 正在审核中
查看>>
IOS开发的开源库
查看>>
IOS开发的开源库
查看>>
Jenkins - sonarqube 代码审查
查看>>
Jenkins + Docker + SpringCloud 微服务持续集成(一)
查看>>
Jenkins + Docker + SpringCloud 微服务持续集成 - 单机部署(二)
查看>>
Jenkins + Docker + SpringCloud 微服务持续集成 - 高可用集群部署(三)
查看>>
Golang struct 指针引用用法(声明入门篇)
查看>>
Linux 粘滞位 suid sgid
查看>>
C#控件集DotNetBar安装及破解
查看>>
Winform皮肤控件IrisSkin4.dll使用
查看>>
Winform多线程
查看>>
C# 托管与非托管
查看>>
Node.js中的事件驱动编程详解
查看>>