ios 闪屏导致问题
我的应用程序启动画面出现了一些问题,这说明我使用图像来测试动画,我打算在启动画面出现后执行该动画,结果发现该图像太大,因此需要很长时间才能加载和我想摆脱它,但是此时我已经在模拟器和设备上测试了它,在我删除“Default.png”并尝试重新加载所有内容后,启动屏幕不断回来......
从这里我发现一篇关于如何使闪屏脱离的不错的小文章像这样的模拟器
通过清理所有目标,在模拟器中删除,然后构建并运行 再次在 xcode 中
这必须完成几次才能真正起作用,但是现在我在使用按住技术删除该应用程序后,开始在手机上重新加载该应用程序,并且您知道启动屏幕仍然显示什么!所以我想知道如何阻止设备上出现闪屏?任何帮助将不胜感激。
I have had a few issues with my apps splash screen, how this stated was that I used a image to test an animation I was going to do just after the splash screen turns out this image was to big so took a long time to load and I wanted to get rid of it, however by this time I have tested it on the simulator and a device, and after I deleted "Default.png" and tried reloading everything the splash screen kept coming back....
From here I found a nice little write up about how to get the splash screen off of the simulator like so
by cleaning all targets, deleting in simulator, and then build and run
in xcode again
this had to be done a couple of times before it actually worked however now I have come to reloading this app on my phone after deleting it with the hold down technique, and what do you know the splash screen is still showing! so I am wondering how do I stop the splash screen from coming up on the device as well? Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
进入您的 AppName-Info.plist 并将启动图像密钥设置为其他图像。该文件也可能挂在周围。进入 Finder 并查看 Default.png 是否仍然存在
这是一个 示例图像 您可以使用。将其设置为启动图像,它应该仍然可以工作。
Go into your AppName-Info.plist and set the launch image key to some other image. It's also possible the file is hanging around. Go into Finder and see if Default.png is still there
Here's a sample image you can use. Set it as the Launch Image and it should still work.