iPhone 启动图像缩放动画在物理设备上不起作用
我开发了一个带有启动图像的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
与您的启动图像无关。与设备的速度以及启动时加载的内容有关。如果启动时加载不多,动画将会非常快,尤其是在 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.
我发现这是因为我拥有大量资源。文件数量 (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.