本文介绍了iOS启动屏幕中的活动指示器没有动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
启动屏幕中的活动指示器没有动画.如何使其运作?我无法执行startAnimating()
,因为无法将类分配给启动屏幕.属性检查器中的复选框无法正常工作.
Activity indicator in launch screen doesn't animate. How to make it work?I can't do startAnimating()
because cannot assign class to launch screen. The checkbox in the attribute inspector does't work as well.
推荐答案
启动屏幕不是启动屏幕.实际上,它只是一张图片,隐藏了用户召唤您的应用程序的时间与您的应用程序运行的时间之间的差距.您无法在启动屏幕上执行任何操作,因为根据定义,如果启动屏幕可见,则您的应用尚未运行.
The launch screen is not a splash screen. It is, in effect, just a picture, hiding the gap between the time the user summons your app and the time your app runs. You cannot do anything in the launch screen because, by definition, if the launch screen is visible your app is not yet running.
这篇关于iOS启动屏幕中的活动指示器没有动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!