iOS 设置高清图片
2012-09-10 11:20
155 查看
Applications running in iOS 4 should now include two separate files for each image resource. One file provides a standard-resolution version of a given image, and the second provides a high-resolution version of the same image. The naming conventions for
each pair of image files is as follows:
Standard: <ImageName><device_modifier>
High resolution: <ImageName>
The <ImageName> and <filename_extension> portions of each name specify the usual name and extension for the file. The
<device_modifier> portion is optional and contains either the string
each pair of image files is as follows:
Standard: <ImageName><device_modifier>
.<filename_extension>
High resolution: <ImageName>
@2x<device_modifier>
.<filename_extension>
The <ImageName> and <filename_extension> portions of each name specify the usual name and extension for the file. The
<device_modifier> portion is optional and contains either the string
~ipador
~iphone. You include one of these modifiers when you want to specify different versions of an image for iPad and iPhone. The inclusion of the
@2xmodifier for the high-resolution image is new and lets the system know that the image is the high-resolution variant of the standard image.
相关文章推荐
- 【iOS-Cocos2d游戏开发之八】开启高清(960*640)模式问题与解答、图片适配以及设置iphone横竖屏
- 【iOS-Cocos2d游戏开发之八】开启高清(960*640)模式问题与解答、图片适配以及设置iphone横竖屏
- 【iOS-Cocos2d游戏开发之八】开启高清(960*640)模式问题与解答、图片适配以及设置iphone横竖屏
- 【iOS-Cocos2d游戏开发之八】开启高清(960*640)模式问题与解答、图片适配以及设置iphone横竖屏 推荐
- 【iOS-Cocos2d游戏开发之八】开启高清(960*640)模式问题与解答、图片适配以及设置iphone横竖屏
- 【iOS-Cocos2d游戏开发之八】开启高清(960*640)模式问题与解答、图片适配以及设置iphone横竖屏
- IOS开发中ICON的正确设置图片分辨率
- iOS开发中的错误整理,启动图片设置了没有效果;单独创建xib需要注意的事项;图片取消系统渲染的快捷方式
- iOS - UIButton设置图片文字上图下文排列
- iOS 当UIbutton设置不上图片时候,可能是这个原因,笔记
- ios设置返回按钮为图片
- iOS开发 ImageView网络请求得到的图片设置UIImageView不变形处理
- ios 设置背景图片
- iOS button设置背景图片后,设置cornerRadius没效果的问题
- iOS设置圆角图片的方法及对比
- iOS-UIButton-设置button标题和图片位置
- IOS学习之——设置APP的启动应用图片 Brand Assets
- ios设置图片为圆形
- iOS 解决button设置背景图片的时候拉伸变形的问题
- ios开发UIiamge设置点击后的图片