Categories
Swift

Could not load the “” image referenced from a nib in the bundle with identifier “com.xxx.xxx”

Today, I encountered a strange problem,Program runs no problem at all but the terminal given as follows

In fact, it is wrong on the subject,This question seems quite simple - not that the pictures referenced lost it ......

actually not,Since the name is "" So you can not find what exactly is the picture lost - a fact not lost。

After all, a program inside resources are not wrong。

In fact,The problem comes from your xib or storyboard,Suspicious xib or storyboard Right-click,Choose open as... ,In the form of open source code,Then search for the keyword " image ”,Look who's in the picture parameter name is strange random code,Something like:

Then see if the graphical interface,It displays pictures there is "Unkown Image",Choose what you can put it back。

Looking followed,All the wrong places are replaced,Until this prompt no longer appears。

Further reading

Could not load the “” image referenced from a nib

Original article written by Gerber drop-off:R0uter's Blog » Could not load the “” image referenced from a nib in the bundle with identifier “com.xxx.xxx”

Reproduced Please keep the source and description link:https://www.logcg.com/archives/2478.html

By R0uter's Blog

The non-declaration,I have written articles are original,Reproduced, please indicate the link on this page and my name。

Leave a Reply

Your email address will not be published. Required fields are marked *