iPhone启动图片Launch Image能玩出的花儿
2015-09-01 11:24
260 查看
Naming Your Launch Image Files
The name of each launch image conveys its purpose and how it is used. It is recommended that you use the following format for launch image filenames:
The portion of the filename is the string that you specify using the UILaunchImageFile key. (If you do not specify the key, iOS uses the string Default for the launch image name.) To the base name, you can add several different types of modifiers:
High-resolution image modifier—Use the
Platform-specific modifiers—Use the modifiers
Orientation-specific modifiers—Use the strings
iPhone 5 modifier—Use the string
URL scheme modifiers—Include the name of your app’s custom URL scheme in launch image names if you want those launch images displayed when your app is launched to open a URL of the specified type. The format of a scheme modifier is
苹果官方文档地址
The name of each launch image conveys its purpose and how it is used. It is recommended that you use the following format for launch image filenames:
<basename><usage_specific_modifiers>.png
The portion of the filename is the string that you specify using the UILaunchImageFile key. (If you do not specify the key, iOS uses the string Default for the launch image name.) To the base name, you can add several different types of modifiers:
High-resolution image modifier—Use the
@2xmodifier to identify images that are intended for Retina displays.
Platform-specific modifiers—Use the modifiers
~iphoneor
~ipadto specify images targeting a specific size of device.
Orientation-specific modifiers—Use the strings
-Landscape, -Portrait, -LandscapeLeft, -LandscapeRight, or -PortraitUpsideDownto specify launch images when the device is in a specific orientation. More specific orientation modifiers take precedence over less-specific orientation modifiers. For example, an image with the -LandscapeLeft modifier takes precedence over an image with the -Landscape modifier when the device is in the correct orientation.
iPhone 5 modifier—Use the string
-568hto specify a launch image intended for devices whose screen is 568 points high. Because such devices also have Retina displays, you should also include the @2x modifier in the image name.
URL scheme modifiers—Include the name of your app’s custom URL scheme in launch image names if you want those launch images displayed when your app is launched to open a URL of the specified type. The format of a scheme modifier is
-<url_scheme>where < url_scheme > is your custom scheme name. For example, if your app opens URLs of the form myscheme://example.com, you would include -myscheme in your launch image names.
苹果官方文档地址
相关文章推荐
- 数组习题
- JVM内存监控:visualVM jconsole jstatd jmap
- 前后端分离问题
- 前后端分离问题
- 简要对比C语言中的truncate()函数与ftruncate()函数
- iOS中assign,copy,retain之间的区别以及weak和strong的区别
- How to Convert 10g Single-Instance database to 10g RAC using Manual Conversion procedure (文档 ID 7474
- iOS5 ARC学习笔记:strong、weak等详解
- 写给想当程序员的朋友
- nginx+jquery+ajax搭建的qaweb游戏测试平台
- HTML/CSS border
- PhoneGap插件开发---基于百度LBS的导航插件(三)
- LeetCode之Fraction to Recurring Decimal
- 《PCI EXPRESS体系结构导读》读书笔记之存储器域与PCI总线域
- swift 中#pragma mark 表示方法
- 文本溢出、字符串过长截取多余文字并用省略号显示
- JS实现黑客帝国文字下落效果
- ctag 简述
- extern + const处理
- 穷人缺少什么