Migrating an iOS App Icon Set or Launch Image Set

Simplify image management by moving existing app icons and launch images into an asset catalog. When you store app icons and launch images in an asset catalog, Xcode automatically creates the required strings in the Info.plist file.

通过把存在的应用程序图标和启动图片移动到一个asset catalog来简化对图片的管理。 当你把应用程序图标和启动图片放进asset catalog, Xcode自动在Info.plist文件里创建相应地字符串。

 
  1. In the project navigator, select your target.

    在项目导航区(下图左侧)选择你的target.

  2. Open the General pane, and scroll to the App Icons section.

    打开General面板,滚动到App Icons区。(如下图)

  3. Click the Use Asset Catalog button.

    点击Use Asset Catalog按钮。

    A dialog appears offering up to two options.

    对话框提供了2个选项。

  4. Configure any options in the dialog.

    选中对话框中的任何选项。

    There are two possible options:

    那里有两种可能选项:

    • To choose a different asset catalog or to create a new one, click on the pop-up menu. Choose an existing asset catalog or choose New Asset Catalog to create a new one. The menu is shown when there is at least one asset catalog in the project.

      选择一个不同的asset catalog 或者创建一个新的asset catalog, 点击弹出菜单。 选择一个已经存在的asset catalog 或选择New Asset Catalog 来创建一个新的。

      The following figure shows choosing to create a new asset catalog instead of using the existing catalog.

      下图我们选择创建一个新的asset catalog.

    • To migrate launch images, make sure the “Also migrate launch images” checkbox is selected.

      要想同时创建启动图片,确保“Also migrate launch images” 选框打上勾。

    Note: As of iOS 8.0 a Launch Screen File is the recommended way to show a launch image.

    注意:如果是iOS8.0后以上版本,推荐用一个启动屏幕文件来显示启动图。

  5. Click the Migrate button.

    点击“Migrate"按钮。

    If there is no asset catalog or if you selected New Asset Catalog from the pop-up menu, you will be prompted to create one. Canceling creation of the new asset catalog will cancel the migration.

    如果没有asset catalog或者你从弹出菜单中选择New Asset Catalog, 会提示你创建一个新的asset catalog. 取消创建新的asset catalog会同时取消该迁移(migration).

    The icons are migrated to the new or existing asset catalog.

    这样,图标就都被移动到新的或已经存在的asset catalog中。

After migrating your app icons, the App Icon and Launch Image area of the General pane will look like the following figure, except that the name in the App Icons Source pop-up menu is based on the filename of the original app icon.

当你移动完你的应用程序图标后,General面板的App Icon and Launch Images区会如下图所示,除了下图App Icons Source弹出菜单中 的名字是基于原始应用图标的文件名的。

To migrate a launch image set separately, go to the project navigator’s General pane, scroll to the Launch Images section, and follow the steps outlined above.

要想单独迁移启动图片,到项目导航区的General面板,滚动到Launch Images 区,按照以上步骤进行。

Asset Catalog Help (五)---Migrating an iOS App Icon Set or Launch Image Set的更多相关文章

  1. Asset Catalog Help (四)---Adding an iOS App Icon Set or Launch Image Set

    Adding an iOS App Icon Set or Launch Image Set Organize different resolutions of your app icons and ...

  2. [摘抄]iOS App icon、启动页、图标规范

    以下内容都是我在做App时通过自己的经验和精品的分析得来的,希望会帮助到你.但是有时个别情况也要个别分析,要活学活用. 一. App  Icon 在设计iOS App Icon时,设计师不需要切圆角, ...

  3. iOS App Icon图标 尺寸规范

    Commit to AppStore:1024*1024 //for App IconIcon-60@3x.png:180*180 //iPhone 6 Plus (@3x)Icon-60@2x.pn ...

  4. Asset Catalog Help (二)---Creating an Asset Catalog

    Creating an Asset Catalog Create an asset catalog to simplify management of your app’s images. 创建一个a ...

  5. Invalid App Store Icon. The App Store Icon in the asset catalog in 'xxx.app' can’t be transparent nor contain an alpha channel.

    1.向appstore上传应用的时候,报了这样一个错误 ERROR ITMS-90717: "Invalid App Store Icon. The App Store Icon in th ...

  6. Applications using Launch Screen Files and targetting iOS 7.1 and earlier need to also include a Launch Image in an Asset Catalog.

    在使用xcode6建的项目时,有时在ios7模拟器下会出现一下情况 导航栏上方和tabbar下方会有黑边 并且会有一下警告: Applications using Launch Screen File ...

  7. iOS App之间常用的五种通信方式及适用场景总结

    iOS系统是相对封闭的系统,App各自在各自的沙盒(sandbox)中运行,每个App都只能读取iPhone上iOS系统为该应用程序程序创建的文件夹AppData下的内容,不能随意跨越自己的沙盒去访问 ...

  8. iOS-----About Asset Catalog

    About Asset Catalogs Use asset catalogs to simplify management of images that are used by your app a ...

  9. 【译】4个你需要知道的Asset Catalog的秘密

    本文由CocoaChina译者 @唧唧歪歪 翻译,作者:Hector Matos 原文:4 XCODE ASSET CATALOG SECRETS YOU NEED TO KNOW 恶梦 想象你正在干 ...

随机推荐

  1. idea刷新项目、清除项目缓存

    点击File -> Invalidate caches ,点击之后在弹出框中点击确认,之后软件就自动重启了

  2. ANALYSIS AND EXPLOITATION OF A LINUX KERNEL VULNERABILITY (CVE-2016-0728)

    ANALYSIS AND EXPLOITATION OF A LINUX KERNEL VULNERABILITY (CVE-2016-0728) By Perception Point Resear ...

  3. 开源安卓Android流媒体音视频播放器实现声音自动停止、恢复、一键静音功能源码

    本文转自EasyDarwin团队John的博客:http://blog.csdn.net/jyt0551/article/details/60802145 我们在开发安卓Android流媒体音视频播放 ...

  4. 安卓Android手机直播推送同步录像功能设计与实现源码

    本文转自:http://blog.csdn.net/jyt0551/article/details/58714595 EasyPusher是一款非常棒的推送客户端.稳定.高效.低延迟,音视频同步等都特 ...

  5. EasyDarwin开源流媒体服务器性能优化之Work-stealing优化方案

    本文转自EasyDarwin开源团队成员Alex的博客:http://blog.csdn.net/cai6811376/article/details/52400226 EasyDarwin团队的Ba ...

  6. 各种数据库(oracle、mysql、sqlserver等)在Spring中数据源的配置和JDBC驱动包----转

    在开发基于数据库的应用系统时,需要在项目中进行数据源的配置来为数据 库的操作取得数据库连接.配置不同数据库的数据源的方法大体上都是相同的,不同的只是不同数据库的JDBC驱动类和连接URL以及相应的数据 ...

  7. Delphi快捷键大全

    Delphi快捷键大全 在过程.函数.事件内部, SHIFT+CTRL+向上的方向键 可跳跃到相应的过程.函数.事件的定义.相反,在过程.函数.事件的定义处,SHIFT+CTRL+向下的方向键 可跳跃 ...

  8. Machine Learning in Action(6) AdaBoost算法

    Adaboost也是一种原理简单,但很实用的有监督机器学习算法,它是daptive boosting的简称.说到boosting算法,就不得提一提bagging算法,他们两个都是把一些弱分类器组合起来 ...

  9. AndroidPageObjectTest_Simple.java

    以下代码使用ApiDemos-debug.apk进行测试 //这个脚本用于演示PageFactory的功能:使用注解@FindBy.@AndroidFindBy.@IOSFindBy定位元素.注解用法 ...

  10. 常用的ES6

    1 let 和 const 作用域: 只在声明指令的块级作用域内有效.① let所声明的变量可以改变,值和类型都可以改变,没有限制. let a = 123 a = 456 // 正确,可以改变 le ...