Asset Catalog Help (vii)---Customizing Image sets for Devices

Source: Internet
Author: User

Customizing Image Sets for Devices

ADD images to a set of that is customized for display on the devices supported by your app.

The application supports adding images to a custom picture set for display in different device vendors.
    1. In the set list, select an image set.

    2. Open the utilities area for the workspace window by clicking the Show Utilities button (). /p>

      Click () to display the Workspace window's tool area (utilities areas).

    3. In the Inspector Bar, click the Attributes Inspector button ().

      In the Inspector bar, click the Properties Check button   ().

    4. from the device pop-up menu, choose Device Specific.

    5. Use the checkboxes in the Attributes inspector to select the devices.

      In the figure above, the image was customized for the IPhone and Apple Watch. The image still needs files for the retina 4-inch IPhone and both resolutions for the IPAD.

      The

      ,image picture collection is defined for iphone and Apple Watch. The photo gallery also requires a Retina 4-inch size iphone file, as well as two resolution files for the ipad.

You need to add device specific images to a set if your app needs to display different sizes of the image on differ ENT devices. For example, a background image for your main view showing a watermark of your logos could need all of the different sizes shown in the above. But an icon for a button this does not vary between devices can use only the universal setting shown in the first figure B Ecause no special sizes is required.

Only when your application needs to display different sizes of pictures on different devices will you need to put the pictures specified by the device into a collection. For example, a background image for the main view, the image of a different size logo watermark can be used to print the image set of the specified special device. If it's just an icon for a button that doesn't change between different devices, you only need to use the universal setting of the diagram, because you don't need a special size.

Customizing your images for devices is one-to-do your app can support multiple screen sizes and orientations. For apps designed-IOS 8 and later, size classes provide a more flexible alternative.

Customizing different images for different devices is a way for your application to support multiple screen sizes and orientations. For Applications IOS8 or later, the dimension class provides a more flexible alternative.

Related articles

Related articles

    • Customizing Image sets for Size Classes
    • Adding Image Sets
    • Removing Images and sets
    • Specifying a resizable area of an Image
    • changing Image Set Names

copyright©2015 Apple Inc. All rights Reserved. Terms of Use | Privacy Policy | updated:2015-03-09

Feedback

Asset Catalog Help (vii)---Customizing Image sets for Devices

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.