简体   繁体   English

启动画面在模拟器和设备中不同

[英]splashscreen is different in simulator and device

I got a splash screen as Default.png this works on the simulator but when i debug my app on the ipad device itself, i get an old Default.png which does not exist anymore.我得到了一个作为 Default.png 的初始屏幕,它在模拟器上工作,但是当我在 ipad 设备本身上调试我的应用程序时,我得到一个不再存在的旧 Default.png。 why is the splash screen different in the simulator and the device?为什么模拟器和设备中的启动画面不同?

I have had this problem before, the way i fixed it was cleaning the project, deleting the app off of the device, turn off the device, restart it and then try again.我以前遇到过这个问题,我修复它的方式是清理项目,从设备上删除应用程序,关闭设备,重新启动它然后重试。

If that doesnt work check all your images, it could still be holding a reference to the old one somewhere.如果这不起作用检查您的所有图像,它仍然可能在某处保留对旧图像的引用。

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

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