iOS常用控件尺寸大集合
来源:互联网 发布:javascript 模块 知乎 编辑:程序博客网 时间:2024/04/28 03:50
iPhone App Icon:
iPad App Icon:
iPhone、iPad通用App Icon:
延伸阅读: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.
译:
iPhone 4引入了高分辨率显示器两倍的像素的以前的iPhone。但是你不需要修改代码以支持高分辨率显示器;坐标系统的流逝点而不是像素,在屏幕的尺寸点和所有UI元素保持不变。
iOS 4支持高分辨率显示器(像iPhone 4显示)通过在UIScreen scale特性,UIView,UIImage,CALayer类。如果对象是显示高清晰的内容,其规模属性设置为2.0。否则它的默认值为1.0。
所有您需要做的来支持高分辨率显示器是提供@2x版本的图像在您的项目中。看到检查表更新到iOS4或苹果文档支持高分辨率屏幕获取更多的信息。
iOS 4支持高分辨率显示器(像iPhone 4显示)通过在UIScreen scale特性,UIView,UIImage,CALayer类。如果对象是显示高清晰的内容,其规模属性设置为2.0。否则它的默认值为1.0。
所有您需要做的来支持高分辨率显示器是提供@2x版本的图像在您的项目中。看到检查表更新到iOS4或苹果文档支持高分辨率屏幕获取更多的信息。
原文连接:http://dangpu.sinaapp.com/?p=59
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- iOS常用控件尺寸大集合
- ios--常用控件尺寸大集合
- iOS常用控件尺寸大集合
- MFC打开文件对话框
- Linux power management: The documentation I wanted to read
- 修改Windows和linux系统时间
- 根据位置来触发单击事件
- (step4.1.3)hdu 2438(Turn the corner——三分查找)
- iOS常用控件尺寸大集合
- iOS5新开发的API总述
- VC 链接时new和delete运算符已经在 LIBCMTD.lib 中定义解决方法
- sql各种表连接
- boost文件系统
- ajax局部刷新一个div下的jsp
- 使用loadrunner Java Vuser协议进行性能测试时场景中报Error: Compilation process failed.解决方法
- Kirsh MATLAB 快速算法
- XE4 grideh not find DBSumLst.dcu