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. Allegro布线基本操作

    转:allegro基本步骤 常见问题 cadence16.5中电源线.地线取消飞线显示 目录: 一.Allegro基本技巧 1.关闭电源和地网络的飞线 2.开启特定NET飞线 3.元器件快速对齐(待完 ...

  2. Java IO 类

    IO包中绝大部分的类都是由以下四个类直接或间接继承来的InputStream OutputStream Reader 还有Writer 其中InputStream和OutputStream代表输入流和 ...

  3. centos下保留python2安装python3

    1. 安装依赖环境 # yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline- ...

  4. kubectl技巧之查看资源列表,资源版本和资源schema配置

    系列目录 在kubernetes里,pod,service,rs,rc,deploy,resource等对象都需要使用yaml文件来创建,很多时候我们都是参照照官方示例或者一些第三方示例来编写yaml ...

  5. JS 省市两级联动(不带地区版本)

    基于网上找的一个版本改造,因为项目需求不需要地区只要省.市,所以做了改版,两个input上直接取出了数据 <html> <head> <script src=" ...

  6. 字符串转换成js的日期格式

    js字符串转日期格式 ,JavaScript字符串转日期格式 大家都知道JS是根据结果来确定数据类型的. 当然我们也是可以转化的,下面我就介绍两种关于JS字符串类型转换成日期类型的方法, 我个人比较喜 ...

  7. erlang防止反编译

    前面提到了erlang的反编译,下面说下防止反编译: 1)建立~/.erlang.crypt 在编译的用户名的home目录中建立一个加密方法的文件.erlang.crypt,内容如下: [{debug ...

  8. WPF自定义Popup和弹出菜单

    Popup: <StackPanel Grid.Column="0" Grid.Row="6" Orientation="Horizontal& ...

  9. git命令行删除远程分支

    先查看远程分支 git branch -r 使用下面两条命令来删除远程分支 git branch -r -d origin/branch-name git push origin :branch-na ...

  10. 高精度乘法(FFT)

    学会了FFT之后感觉自己征服了世界! 当然是幻觉... 不过FFT还是很有用的,在优化大规模的动规问题的时候有极大效果. 一般比较凶残的计数动规题都需要FFT(n<=1e9). 下面是高精度乘法 ...