ios 闪屏导致问题

发布于 2024-11-19 16:05:04 字数 370 浏览 2 评论 0原文

我的应用程序启动画面出现了一些问题,这说明我使用图像来测试动画,我打算在启动画面出现后执行该动画,结果发现该图像太大,因此需要很长时间才能加载和我想摆脱它,但是此时我已经在模拟器和设备上测试了它,在我删除“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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尹雨沫 2024-11-26 16:05:04

进入您的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文