如何在 XCode 和 Swift 中制作带有动画的 LauchScreen?
How can I make a LauchScreen in XCode with Swift, with animation?
在XCode中,如何制作一个LauchScreen,在加载45%后移动一个正方形。延迟不是最好的,因为启动时间因内存使用、phone 型号等而异
因此,在加载 45% 的应用后,接下来的 10% 会在屏幕中央设置一个正方形。
提前致谢!
编辑:
这将是一个 table 游戏,有 9( 3^2 ) 个地方可以放置你的硬币。加载屏幕是底部和中间行到位,但顶部行只有 2 个方块开始,推到右边。随着加载过程的进行,方块向左移动。加载完成后,同一屏幕仍然显示底部的菜单,但那只是一个标签栏。
你不能,加载屏幕是静态的,即使你使用 Nib 或故事板也是如此。
您唯一能做的就是尽可能快地启动您的应用程序,只需加载一个简单的屏幕并在您的应用程序启动后立即显示它。
然后加载您的应用程序中更复杂的部分,并在您的应用程序完全启动后删除此加载屏幕。
如 documentation 中所述,启动屏幕给人以快速加载的印象。
Design a plain launch image that improves the user experience. In particular, the launch image isn’t an opportunity to provide:
An “app entry experience,” such as a splash screen
An About window
Branding elements, unless they are a static part of your app’s first screen
如果您希望应用启动时有动画效果,请创建自定义 class,但请记住:
Because users are likely to switch among apps frequently, you should make every effort to cut launch time to a minimum, and you should design a launch image that downplays the experience rather than drawing attention to it.
编辑:错过了您的编辑,理解您的用意!
在XCode中,如何制作一个LauchScreen,在加载45%后移动一个正方形。延迟不是最好的,因为启动时间因内存使用、phone 型号等而异
因此,在加载 45% 的应用后,接下来的 10% 会在屏幕中央设置一个正方形。
提前致谢!
编辑:
这将是一个 table 游戏,有 9( 3^2 ) 个地方可以放置你的硬币。加载屏幕是底部和中间行到位,但顶部行只有 2 个方块开始,推到右边。随着加载过程的进行,方块向左移动。加载完成后,同一屏幕仍然显示底部的菜单,但那只是一个标签栏。
你不能,加载屏幕是静态的,即使你使用 Nib 或故事板也是如此。
您唯一能做的就是尽可能快地启动您的应用程序,只需加载一个简单的屏幕并在您的应用程序启动后立即显示它。 然后加载您的应用程序中更复杂的部分,并在您的应用程序完全启动后删除此加载屏幕。
如 documentation 中所述,启动屏幕给人以快速加载的印象。
Design a plain launch image that improves the user experience. In particular, the launch image isn’t an opportunity to provide:
An “app entry experience,” such as a splash screen
An About window
Branding elements, unless they are a static part of your app’s first screen
如果您希望应用启动时有动画效果,请创建自定义 class,但请记住:
Because users are likely to switch among apps frequently, you should make every effort to cut launch time to a minimum, and you should design a launch image that downplays the experience rather than drawing attention to it.
编辑:错过了您的编辑,理解您的用意!