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

后端 未结 22 2824
渐次进展
渐次进展 2020-12-01 11:32

when I load my application it shows a warning message that

\"Could not load the \"\" image referenced from a nib in the bundle with identifier \"

22条回答
  •  攒了一身酷
    2020-12-01 12:08

    I got the same error message (in XCode 8), even though the app ran fine (in the simulator and on the device).

    I found the problem: In my storyboard, using the document outline pane, I clicked through every single UIImage, and looking at the attributes inspector for each UIImage - in the Image View section - found that one UIImage had a blank file name (instead of the .png file name containing the image). Reselecting the .png file name from the dropdown box fixed the error message.

提交回复
热议问题