iOS Add Picture Resource report (Imageasset) Errors and warnings

Source: Internet
Author: User


Error after importing picture resource in iOS project, distill Faield for unknown reasons.

For a long reason, also checked the information, or did not find the reason. The data says there are two causes:

1, repeated the addition of a picture file

Searched for n Long, also did not find the question that has repeatedly added

2, a picture of a resource damage

found that as long as the import of one of the set of pictures will be an error, but how to do all found that the picture is intact

And then when I open the picture I find the picture is too big, please see

Normal picture size

Seemingly caught the key point, find the UI for a small picture to try, sure enough.


Ii. issues relating to warnings

You can see three warnings on the top of the picture, and here's how to resolve the warning.

Warning prompts need a picture of 76x76 for ipad to use, then you do not provide.

Two solutions:

1, check the ipad option in the AppIcon option, import the corresponding size of the picture is possible, it means that your project to do the ipad adaptation

2, choose Target-->general-->deployment Info, find device, change the default universal to iphone is OK



iOS Add Picture Resource report (Imageasset) Errors and warnings

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.