iPhone 启动图像缩放动画在物理设备上不起作用

发布于 2024-09-01 18:30:46 字数 183 浏览 2 评论 0原文

我开发了一个带有启动图像的 iPhone 应用程序。在模拟器中启动应用程序时,图像会按预期放大。但是,当应用程序部署到我的物理设备时,缩放动画非常短,有时会立即完成。

我确信这与我的应用程序启动无关,因为我在 applicationDidFinishLoading 中放置了一个睡眠调用来减慢它的速度,并且这种情况发生在缩放动画完成后。

I have developed an iPhone app with a launch image. When starting the app in the simulator, the image zooms in as expected. However, when the app is deployed to my physical device, the zoom animation is very short and sometimes completes instantaneously.

I'm sure it's nothing to do with my app start up as I put a sleep call in applicationDidFinishLoading to slow it down and this occurs after the zoom animation has completed.

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

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

发布评论

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

评论(2

素食主义者 2024-09-08 18:30:46

与您的启动图像无关。与设备的速度以及启动时加载的内容有关。如果启动时加载不多,动画将会非常快,尤其是在 3GS 设备上。

Has nothing to do with your startup image. Has everything to do with the speed of your device and what you're loading on starting. If you're not loading much at startup the animation will be very fast, especially on a 3GS device.

任性一次 2024-09-08 18:30:46

我发现这是因为我拥有大量资源。文件数量 (2400) 或其组合大小导致在显示启动图像之前出现暂停。

I tracked this down to the fact I have a large number of resources. Either the number of files (2400) or the combined size of them is causing a pause before the start up image is shown.

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