iOS Swift:LaunchScreen不显示图像

时间:2021-07-26 21:12:53

Evening, my launch screen doesn't show the new images that I add in the assets. It displays only a black screen... Like if the image view isn't there.

晚上,我的启动屏幕没有显示我在资产中添加的新图像。它只显示黑屏...就像图像视图不存在一样。

This happen only in my device, while in the simulator they are visible. The old images are all displayed properly.

这只发生在我的设备中,而在模拟器中它们是可见的。旧图像都正确显示。

I've tried to delete the app and install it agains but still I have the problem.

我试图删除该应用程序并重新安装它,但我仍然有问题。

I've tired with jpgs pngs and vector.

我厌倦了jpgs pngs和vector。

Any tip?

1 个解决方案

#1


6  

Seems like you were having different images then you change it to something else, the device cache the old launch screen and doesn't show your new images, just try to restart the device then reinstall, it will show your new images

好像你有不同的图像,然后你把它改成别的东西,设备缓存旧的启动屏幕,不显示你的新图像,只是尝试重新启动设备然后重新安装,它将显示你的新图像

#1


6  

Seems like you were having different images then you change it to something else, the device cache the old launch screen and doesn't show your new images, just try to restart the device then reinstall, it will show your new images

好像你有不同的图像,然后你把它改成别的东西,设备缓存旧的启动屏幕,不显示你的新图像,只是尝试重新启动设备然后重新安装,它将显示你的新图像