简体   繁体   English

启动屏幕故事板的图像消失

[英]Launch Screen Storyboard's Image Disappears

I recently changed from launch images to a launch screen storyboard. 我最近从发布图像更改为发布屏幕故事板。 I debugged the app on my phone, and everything looked great. 我在手机上调试了应用程序,一切看起来都很棒。 I made some changes on other areas of the app's code, updated the build number, and installed the new version, but now the image on that storyboard is missing, and just shows as black. 我对应用程序代码的其他区域进行了一些更改,更新了内部版本号,并安装了新版本,但现在该故事板上的图像丢失了,只显示为黑色。 Any ideas as to why the image would disappear when I've made no changes at all to that storyboard? 当我对那个故事板没有任何改变时,有关为什么图像会消失的任何想法? The image is still in the project, and I checked the source code for the storyboard, and it is correctly typed in there as well. 图像仍然在项目中,我检查了故事板的源代码,并在那里正确输入。 All works on simulator. 所有在模拟器上工作。

I experienced the same thing. 我经历过同样的事情。 Try to remove the ".png" extensions on the images in the interface designer. 尝试删除界面设计器中图像上的“.png”扩展名。 This made them disappear in the designer, but they did appear in the app! 这使他们在设计师中消失了,但他们确实出现在应用程序中!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM