Search code examples
iosxcodeanimationlaunch-screen

Activity View Indicator isn't animating at LaunchScreen.storyboard


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 I use Act.V.Indic. not in LaunchScreen - it is animating.


Solution

  • 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.