Could not load the “” image referenced from a nib

前端 未结 21 2378
广开言路
广开言路 2020-12-23 19:21

I have no images called \"\" (nothing). I\'ve gone through the .xib file of the screen where this pops up and can\'t find anything that would cause this. Anybody who have ha

21条回答
  •  旧巷少年郎
    2020-12-23 20:12

    In xcode 5.1 I had this same issue. The only way I could finally get it to work when using storyboard was to add the images as an image asset catalog. From what I read maybe they changed something in 5.1. I thought that storyboards don't have nibs - so it would make sense that asset catalog replaces the old method.

    Project > General > App Icon Arrow > Import New Folder.

    As soon as I did that the NIB references went away and my images showed up.

提交回复
热议问题