Activity View Indicator isn't animating at LaunchScreen.storyboard

后端 未结 2 339
暖寄归人
暖寄归人 2021-01-24 09:19

I want to use Activity View Indicator on my app while it\'s loading, so I have LaunchScreen.storyboard. I use \"Behaviour - Animating\" on my AVI, but it is not animating. When

相关标签:
2条回答
  • 2021-01-24 09:52

    The LaunchScreen storyboard is static. iOS actually creates an image from the LaunchScreen and displays that image. It is impossible to have any dynamic or animated content in a LaunchScreen storyboard.

    If your app takes time to load, then your app should display another screen as soon as it starts and that screen should show the activity indicator view.

    0 讨论(0)
  • 2021-01-24 09:59

    Launch screens are static. Even though you set it to animating, it won't animate, simply because it can't. Think of them as outlines for your launch images. iOS will generate an image from them, that'll be shown to the user. They are a more convenient way of generating launch screens but aren't interactive or dynamic.

    0 讨论(0)
提交回复
热议问题