Activity View Indicator isn't animating at LaunchScreen.storyboard

后端 未结 2 340
暖寄归人
暖寄归人 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.

提交回复
热议问题