基于导航的应用程序中的最后一个 UIView 在启动时显示

发布于 2024-09-24 11:38:17 字数 213 浏览 3 评论 0原文

我的 iPhone 应用程序中发生了奇怪的事情。由于当我启动基于导航的应用程序时未定义时间点(无论是在模拟器中还是在设备上),最后一个 UIView (用户最后到达的那个)在启动时显示。应用程序加载后,它会自动切换到 RootViewController 的视图。就像最后一个视图完成了启动屏幕的工作。

我有点困惑。有人经历过同样的事情并且可能得到了解决方案的明确提示吗?

谢谢。

strange things happen in my iPhone app. Since a not defined point in time when I start my navigation based app (it doesn't matter if in simulator or on the device) the last UIView (the one that the user reaches last) is shown on startup. After the app is loaded it switches automatically to the RootViewController's view. It's like the last view does the job of a splash screen.

I'm a little bit confused. Did somebody experience the same thing and maybe got the definite hint for a solution?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

杯别 2024-10-01 11:38:17

好的,已解决:从资源文件夹中删除带有最后一个 UIView 屏幕截图的“Default.png”是一个非常好的主意。实际上没有加载 UIView,只是加载了图像......该死。这是多么愚蠢的事情啊,而且问题往往出在屏幕前。

Ok, SOLVED: It's a pretty good idea to delete a "Default.png" with a screenshot of the last UIView from the Resource folder. No UIView was actually loaded, just the image.... damn it. what a stupid thing and as often, the problem was sitting in front of the screen.

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