Asset Catalog Help (十)---Removing Images and Sets

Removing Images and Sets

Optimize the size of an asset catalog by removing unused images or sets.

通过删除不用的图片或图片集优化一个asset catalog的大小。

Do one of the following:

可以使用以下方法:

  • Remove an image from its set by Control-clicking the image and choosing Remove Selected Items from the shortcut menu.

    通过选中要删除的图片,选择删除最选中的图片。

    Note: Removing an image does not remove the placeholder for that image resolution from the set. To remove the placeholder from a set, use the Attributes inspector to deselect the checkbox for the corresponding sizes or device, as described in the appropriate Customizing Sets article (see Related Articles).

    注意:从图片集删除图片并不会删除该图片分辨率的占位符。 要想从图片集中删除占位符, 使用Attributes inspector来取消选择相应尺寸或设置边上的选择框,它们有在相应地自定义集合文章中讲述(查看相关文章)

  • Select an image or image set, and press the Delete key.

    选中一张图片或一个图片集,按Delelte键。

Related Articles

相关文章

时间: 2024-10-11 17:06:57

Asset Catalog Help (十)---Removing Images and Sets的相关文章

Asset Catalog Help (三)---Adding Image Sets

Adding Image Sets Organize versions of your images in image sets, which you can add to an asset catalog. 你可以用图片集组织管理不同版本的图片 ,图片集可以放入一个asset catalog. In the project navigator, select an asset catalog. 在项目导航区(project navigator)中,选择一个asset catalog. Sele

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 devices supported by your app. 应用程序支持把图片加入一个自定义图片集,用来在不同设备商显示. In the set list, select an image set. 在图片集列表中,选择一个图片集. Open the utilities area for the worksp

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 different size classes supported by your app. 应用程序也支持把图片存入一个自定义集合,用来在不同的尺寸类中显示. In the set list, select an image set. 在集合列表(set list)中,选择一个图片集. Open the ut

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图标存进一个asset catalog里可以简化图片管理. In the project navigator, select an asset catalog. 在项目导航区,选择一个asset catalog. Choose Editor > New OS X Icon. 选择Editor > New

Asset Catalog Help (九)---Specifying a Resizable Area of an Image

Specifying a Resizable Area of an Image Use the Xcode Slicing feature to specify the dimensions of a resizable center area of the image and to optionally specify end caps, which are areas of the image that should not be filled by the resizable area.

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

About Asset Catalogs Use asset catalogs to simplify management of images that are used by your app as part of its user interface. 使用asset catalogs可以简化应用程序中需要使用图片的管理,把它们作为用户界面的一部分. An asset catalog can include: 一个asset catalog可以包括以下内容: Image sets: Use

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

Creating an Asset Catalog Create an asset catalog to simplify management of your app’s images. 创建一个asset catalog来简化管理应用程序图片. Choose File > New > File. 选择File > New > File. Under iOS or OS X, select Resource. 在iOS 或 OS X中选择 Resource. Select Ass

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

本文由CocoaChina译者 @唧唧歪歪 翻译,作者:Hector Matos 原文:4 XCODE ASSET CATALOG SECRETS YOU NEED TO KNOW 恶梦 想象你正在干活,你的上级要求你在工程中加入一些图片.你找到团队中的设计师(如果你们有一个的话),鼓起勇气,问他要这些图片.不过,通常他都会忙得根本没时间帮你.因为他要做的活儿比你还多.说实话,你到底见过一个设计师有多少活儿要做吗?!简直多到令人发指啊!所以你最不想做的就是成为那个再给他加活儿的人了.特别是那些活

ERROR ITMS-90682: Invalid Bundle - The asset catalog at 'Payload/XXXXX/Assets.car' can't contain 16-bit or P3 assets if the app supports iOS 9.3 or earlier.

刚升级Xcode 8, 幺蛾子又出现了.提交的时候出了这个问题. BTW,感谢google.以下为解决方案:‘ 在 Xcode 8 中,当你资源文件中[含有16位图]或者[图片显示模式γ值为'P3']且iOS targets设定为iOS 9.3以下就会出现这个问题. 如果你的app需要支持广色域显示的话,那你必须得把target设置成iOS 9.3+,相反,如果你的app不需要支持广色域且你想兼容 iOS 9.3 之前的项目,你就得把所有的16位的或者显示模式为'P3'图片全都替换成8位模式的S