I get the above mentioned issue all the time when I first launch the app in the day. When I first launch the app, I make server calls to get some data and then play animation v
You might have overrided loadView() without calling super method.
Change
override func loadView() { }
To
override func loadView() { super.loadView() }