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. MOS简介

    功率半导体器件机能 MOS管(击穿原因),它采用“超级结”(Super-Junction)结构,故又称超结功率MOSFET.全数字控制是发展趋势,已经在很多功率变换设备中得到应用.既管理了对电网的谐波 ...

  2. SEO(搜索引擎优化)

    高级搜索指令 搜索命令中的字符均为英文 用户除了可以通过搜索引擎搜索普通的查询词外,还可以使用一些特殊的高级搜索指令.这些指令普通用户很少会用到,但是对于SEO人员进行竞争对手研究和寻找外部链接资源却 ...

  3. sublime 实用快捷键

    Command+Enter 在下一行插入新行.举个栗子:即使光标不在行尾,也能快速向下插入一行. Command+Shift+Enter 在上一行插入新行.举个栗子:即使光标不在行首,也能快速向上插入 ...

  4. OpenWrt:路由器上的Linux

    官网:https://openwrt.org/ 适于嵌入式设备的一个Linux发行版,可刷无线路由器. 相对原厂固件而言,OpenWrt不是一个单一.静态的固件,而是提供了一个可添加软件包的可写的文件 ...

  5. linux安装ssh(转载)

    CentOS安装ssh最笨的方法:yum install ssh yum install openssh-server/etc/init.d/sshd status看sshd服务的状态/etc/ini ...

  6. 【BZOJ2400】Spoj 839 Optimal Marks 最小割

    [BZOJ2400]Spoj 839 Optimal Marks Description 定义无向图中的一条边的值为:这条边连接的两个点的值的异或值. 定义一个无向图的值为:这个无向图所有边的值的和. ...

  7. c#冒泡法排序

    1.通过冒泡法实现一个int数组的有小到大的排序 代码如下: //用for语句来实现排序功能,冒泡排序 static void Sort(int[] number) { ; i < number ...

  8. 在Win7创建WiFi热点

    1.在开始菜单搜索cmd 2.运行cmd 3.输入以下命令,注意:Your-WiFi-Name和Your-WiFi-Password分别为WiFi名称和密码 netsh wlan set hosted ...

  9. ./autogen.sh: 4: autoreconf: not found

    ./autogen.sh: 4: autoreconf: not found  是在不同版本的 tslib 下执行 autogen.sh 产生.它们产生的原因一样,是因为没有安装  automake ...

  10. linux apache 用户认证:

    root@ubuntu:/# htpasswd -c /etc/apache2/password zhangsan (-c表示要创建一个password密码文件,文件存放目录是/etc/apache2 ...