Adding Image Sets

Organize versions of your images in image sets, which you can add to an asset catalog.

你可以用图片集组织管理不同版本的图片 ,图片集可以放入一个asset catalog.
  1. In the project navigator, select an asset catalog.

    在项目导航区(project navigator)中,选择一个asset catalog.

  2. Select an image in the Finder, and drag it to the set list in the selected asset catalog.

    在Finder中选择一张图片,并把它拖入asset catalog中的集合列表(set list)---下图左侧。

    A new image set is automatically created.

    一个新的图片集自动被创建。

    Alternatively, you can create an empty image set by choosing Editor > New Image Set or by clicking the Add button (+) in the toolbar at the bottom of the set list and selecting New Image Set.

    或者,你可以通过选择Editor > New Image Set 或者通过点击集合列表(set list)底部的(+)并选择New Image Set来创建一个空白图片集(image set)。

  3. To add another image to the image set, drag the image from the Finder to the appropriate image well in the set viewer.

    要想给图片集添加另外的图片,只需要把Finder中图片拖入图片集查看区(set viewer)中合适的图片框即可。如下图:

    Alternatively, you can add images by choosing Editor > Import.

    或者,你可以通过选择Editor > Import方法来添加图片。

Image sets are used to group different resolutions of the same image. This allows one app to target multiple size classes or to target specific devices and orientations. For help adding more resolutions to an image set, see the relevant article on Customizing Image Sets linked to below in Related Articles.

图片集是用来把同一图片的不同分辨率尺寸图放到一起。这样让应用程序可以指向多个尺寸类或指向不同的特定设备或不同方向。 关于如何向一个图片集里添加更多不同的分辨率图片,查看下面相关的Customizing Image Sets系列文章。

Asset Catalog Help (三)---Adding Image Sets的更多相关文章

  1. Asset Catalog Help (六)---Adding OS X Icons

    Adding OS X Icons Simplify image management by storing your OS X icons in an asset catalog. 把OS X图标存 ...

  2. 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 ...

  3. Asset Catalog Help (七)---Customizing Image Sets for Size Classes

    Customizing Image Sets for Size Classes Add images to a set that are customized for display in diffe ...

  4. Asset Catalog Help (八)---Customizing Image Sets for Devices

    Customizing Image Sets for Devices Add images to a set that are customized for display on the device ...

  5. Asset Catalog Help (十一)---Removing Images and Sets

    Removing Images and Sets Optimize the size of an asset catalog by removing unused images or sets. 通过 ...

  6. iOS-----About Asset Catalog

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

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

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

  8. Asset Catalog Help (五)---Migrating an iOS App Icon Set or Launch Image Set

    Migrating an iOS App Icon Set or Launch Image Set Simplify image management by moving existing app i ...

  9. Asset Catalog Help (一)---About Asset Catalogs

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

随机推荐

  1. hdu 2842(矩阵高速幂+递推)

    题意:一个中国环的游戏,规则是一个木棒上有n个环.第一个环是能够任意放上或拆下的,剩下的环x假设想放上或拆下必须前一个环x-1是放上的且前x-2个环所有是拆下的,问n个环最少多少次操作能够所有拆掉. ...

  2. docker&k8s填坑记

    本篇主要用于记录在实施docker和kubenetes过程中遇到的一个问题和解决办法. 本节部分内容摘自互联网,有些部分为自己在测试环境中遇到到实际问题,后面还会根据实际情况不断分享关于docker/ ...

  3. 02 svn 文件提交与目录结构

    一:文件操作给svn服务器提交程序文件: ① 在被提交文件的身上点击右键------> tortoiseSVN----->add ② 在被提交文件身上点击右键------> comm ...

  4. 在VS2015中增加JQuery引用及智能提示

      打开VS2015,从"工具"菜单选择NuGet选项,搜索Jquery,并点击安装.   可以看到解决方案的scripts增加了对应文件的引用   在HTML文件中可以直接引用j ...

  5. 关于Darwin接入私有协议、私有SDK码流的讨论

          最近做到云视频/云监控的项目,跟团队伙伴讨论到一个架构问题,就是将私有协议的码流数据接入到Darwin,再通过Darwin对外提供高效的RTSP/RTP服务.说到私有协议接入Darwin, ...

  6. wepy开发

    工欲善其事必先利其器 ide安装.配置] https://tencent.github.io/wepy/document.html VS Code   1. 在 Code 里先安装 Vue 的语法高亮 ...

  7. 在给mysql数据库备份时,报错: mysqldump: Got error: 145: Table '.\shengdaxcom\pre_forum_thread' is marked as c rashed and should be repaired when using LOCK TABLES

    在给mysql数据库备份时,报错: mysqldump: Got error: 145: Table '.\shengdaxcom\pre_forum_thread' is marked as cra ...

  8. 项目中一个普通的Java类如何获取service接口(一)

    在普通的Java类中获取service接口目的是调用接口中的方法,实现数据的持久化等操作: Java类中的获取service接口方法: IfaceDetectService faceDetectSer ...

  9. 【Effective C++】让自己习惯C++

    条款01:视C++为一个语言联绑 C++的四个语言层次: C:C++是以C为基础的.基本数据类型.语句.预处理器.数组.指针等统统来自C. Oject-Oriented C++:面向对象这一特性包含了 ...

  10. Linux系统中10个常用的ps命令总结

    Linux作为Unix的衍生操作系统,Linux内建有查看当前进程的工具ps.这个工具能在命令行中使用PS 命令是什么 查看它的man手册可以看到,ps命令能够给出当前系统中进程的快照.它能捕获系统在 ...